Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / print-autosizing.html
blob07cbb0a4255548845d2d5c1522da80ec5ca770a8
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 </head>
13 <body>
15 <div>
16 This text should not be autosized because the document is printing.<br>
17 There is enough text that we should <b>autosize</b> the text initially, but while printing we should not be autosized.<br>
18 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
19 </div>
21 <script>
22 if (window.testRunner) {
23 testRunner.waitUntilDone();
24 testRunner.setPrinting();
25 requestAnimationFrame(function() {
26 testRunner.notifyDone();
27 });
29 </script>
30 </body>
31 </html>