Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: LayoutTests/fast/text/sub-pixel/text-scaling-pixel.html

Issue 25512005: Enable experimental support for sub-pixel font scaling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 </head>
8 <body>
9 <section>
10 <h1>Font Size Scaling Pixel Test</h1>
11 <p>
12 Size of the text should scale smoothly.
13 Reported width should be within 0.01px of that of the highlighte d reference row.
14 </p>
15 <div id="test"></div>
16 </section>
17 <script>
18 if (window.testRunner && window.testRunner.setTextSubpixelPositionin g)
19 window.testRunner.setTextSubpixelPositioning(true);
20
21 var PANGRAM = 'Amazingly few discotheques provide jukeboxes.';
22 runTest(document.getElementById('test'), PANGRAM);
23 </script>
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/sub-pixel/text-scaling-ltr-expected.txt ('k') | LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698