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

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

Issue 249723003: Remove main frame overflow from some non-scrollbar tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Windows expectations Created 6 years, 8 months 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
1 <!DOCTYPE> 1 <!DOCTYPE>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <link rel="stylesheet" type="text/css" href="resources/text-scaling.css" > 5 <link rel="stylesheet" type="text/css" href="resources/text-scaling.css" >
6 <script src="resources/text-scaling.js"></script> 6 <script src="resources/text-scaling.js"></script>
7 </head> 7 </head>
8 <body> 8 <body style="overflow: hidden;">
9 <section> 9 <section>
10 <h1>Font Size Scaling Pixel Test</h1> 10 <h1>Font Size Scaling Pixel Test</h1>
11 <p> 11 <p>
12 Size of the text should scale smoothly. 12 Size of the text should scale smoothly.
13 Reported width should be within 0.01px of that of the highlighte d reference row. 13 Reported width should be within 0.01px of that of the highlighte d reference row.
14 </p> 14 </p>
15 <div id="test"></div> 15 <div id="test"></div>
16 </section> 16 </section>
17 <script> 17 <script>
18 if (window.testRunner && window.testRunner.setTextSubpixelPositionin g) 18 if (window.testRunner && window.testRunner.setTextSubpixelPositionin g)
19 window.testRunner.setTextSubpixelPositioning(true); 19 window.testRunner.setTextSubpixelPositioning(true);
20 20
21 var PANGRAM = 'Amazingly few discotheques provide jukeboxes.'; 21 var PANGRAM = 'Amazingly few discotheques provide jukeboxes.';
22 runTest(document.getElementById('test'), PANGRAM); 22 runTest(document.getElementById('test'), PANGRAM);
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/orientation-sideways.html ('k') | LayoutTests/fast/text/text-letter-spacing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698