| <!DOCTYPE html> |
| <script> |
| if (window.testRunner) |
| testRunner.setPrinting(); |
| if (window.internals) |
| internals.settings.setShouldPrintBackgrounds(true); |
| </script> |
| <style> |
| @page { margin:0; } |
| body { margin:0; } |
| </style> |
| <div style="width:50%; height:550px; background:hotpink;"></div> |
| |
| <!-- This test assumes that the initial page width is less than 1100px, and |
| that we are allowed to actually stretch it to 1100px after initial layout, |
| when we have discovered the widest element. The following block will |
| trigger zoom-out: --> |
| <div style="width:1100px; height:1px;"></div> |