Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script> | |
| 3 if (window.testRunner) | |
| 4 testRunner.setPrinting(); | |
| 5 if (window.internals) | |
| 6 internals.settings.setShouldPrintBackgrounds(true); | |
| 7 </script> | |
| 8 <style> | |
| 9 @page { margin:0; } | |
| 10 body { margin:0; } | |
| 11 </style> | |
| 12 <div style="width:50%; height:550px; background:hotpink;"></div> | |
| 13 | |
| 14 <!-- This test assumes that the initial page width is less than 1100px, and | |
| 15 that we are allowed to actually stretch it to 1100px after initial layout, | |
| 16 when we have discovered the widest element. The following block will | |
| 17 trigger zoom-out: --> | |
| 18 <div style="width:1100px; height:1px;"></div> | |
| OLD | NEW |