Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / font-scale-factor-change.html
blobc5aed9faf1e264f157e8dcc7d25741decb7b2d4d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta name="viewport" content="width=320">
5 <style>
6 html { font-size: 16px; }
7 body { width: 320px; margin: 0; overflow-y: hidden; }
8 </style>
9 <script src="resources/autosizingTest.js"></script>
10 </head>
11 <body>
12 <div>
13 This test verifies that the page updates correctly after a dynamic change to the font scale factor.
15 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.
16 </div>
17 <script>
18 if (window.testRunner)
19 testRunner.waitUntilDone();
21 setTimeout(function() {
22 setFontScaleFactor(2);
24 if (window.testRunner)
25 testRunner.notifyDone();
26 }, 0);
28 </script>
29 </body>
30 </html>