Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / sub-pixel / text-scaling-pixel.html
blobdec5329bf58fc7d39ffbcbb1e35aa5025ef7ea63
1 <!DOCTYPE>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <link rel="stylesheet" type="text/css" href="resources/text-scaling.css">
6 <script src="resources/text-scaling.js"></script>
7 <style>
8 body { overflow: hidden; }
9 </style>
10 </head>
11 <body style="overflow: hidden;">
12 <section>
13 <h1>Font Size Scaling Pixel Test</h1>
14 <p>
15 Size of the text should scale smoothly.
16 Reported width should be within 0.02px of that of the highlighted reference row.
17 </p>
18 <div id="test"></div>
19 </section>
20 <script>
21 if (window.testRunner && window.testRunner.setTextSubpixelPositioning)
22 window.testRunner.setTextSubpixelPositioning(true);
24 var PANGRAM = 'Amazingly few discotheques provide jukeboxes.';
25 runTest(document.getElementById('test'), PANGRAM);
26 </script>
27 </body>
28 </html>