Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / font-scale-factor.html
blob6b8e169dd5450b9fd879ee1aacf03e37d14ba6ba
1 <!DOCTYPE html>
2 <html>
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 html { font-size: 16px; }
8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 </style>
11 <script src="resources/autosizingTest.js"></script>
12 <script>
13 setFontScaleFactor(2);
14 </script>
16 </head>
17 <body>
19 <div>
20 This text should be autosized to 80px computed font-size (16 * 800/320 * 2, where 2 is the fontScaleFactor).<br>
21 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sapien sapien, tempus id egestas a, consectetur et felis. Ut pharetra mi eget lectus laoreet rutrum. Mauris tellus odio, egestas vitae sodales in, vehicula eget ante. Pellentesque id egestas arcu. Quisque tellus quam, rhoncus ac elementum vel, volutpat vel felis. Aliquam ut leo dolor, eget egestas tellus. Nunc ut velit gravida nisl fringilla rutrum eget at arcu. Vivamus et pretium mauris.
22 </div>
24 </body>
25 </html>