OLD | NEW |
(Empty) | |
| 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 wh
ile printing we should not be autosized.<br> |
| 18 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempo
r incididunt ut labore et dolore magna aliqua sed do eiusmod tempor incididunt u
t 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> |
OLD | NEW |