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

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

Issue 556313002: Merge 181492 "[DirectWrite] Disable subpixel font positioning fo..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2125/
Patch Set: Created 6 years, 3 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <style> 6 <style>
7 @font-face { 7 @font-face {
8 font-family: 'Open Sans'; 8 font-family: 'Open Sans';
9 font-style: normal; 9 font-style: normal;
10 font-weight: 400; 10 font-weight: 400;
11 src: url('../../../resources/opensans/OpenSans-Regular.woff') fo rmat('woff'); 11 src: url('../../../resources/opensans/OpenSans-Regular.woff') fo rmat('woff');
12 } 12 }
13 section > div > div { 13 section > div > div {
14 font-family: 'Open Sans'; 14 font-family: 'Open Sans', 'Segoe UI';
15 } 15 }
16 </style> 16 </style>
17 <script src="resources/text-scaling.js"></script> 17 <script src="resources/text-scaling.js"></script>
18 <script src="../../../resources/js-test.js"></script> 18 <script src="../../../resources/js-test.js"></script>
19 </head> 19 </head>
20 <body> 20 <body>
21 <section> 21 <section>
22 <h1>Font Size Scaling (WebFont, Latin)</h1> 22 <h1>Font Size Scaling (WebFont, Latin)</h1>
23 <p> 23 <p>
24 Size of the text should scale smoothly. 24 Size of the text should scale smoothly.
(...skipping 15 matching lines...) Expand all
40 // different across platforms and would require platform 40 // different across platforms and would require platform
41 // specific baselines. 41 // specific baselines.
42 if (window.testRunner) 42 if (window.testRunner)
43 document.getElementById('test').style.display = 'none'; 43 document.getElementById('test').style.display = 'none';
44 } else { 44 } else {
45 testFailed('Size of text does not scale smoothly, reported width s highlighted in red do not match reference row.'); 45 testFailed('Size of text does not scale smoothly, reported width s highlighted in red do not match reference row.');
46 } 46 }
47 </script> 47 </script>
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698