Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / print-autosizing.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4
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>
10
11 <script src="resources/autosizingTest.js"></script>
12 </head>
13 <body>
14
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>
20
21 <script>
22   if (window.testRunner) {
23     testRunner.waitUntilDone();
24     testRunner.setPrinting();
25     requestAnimationFrame(function() {
26       testRunner.notifyDone();
27     });
28   }
29 </script>
30 </body>
31 </html>