| OLD | NEW | 
|---|
| (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> | 
| OLD | NEW | 
|---|