| <!DOCTYPE html> |
| <script> |
| if (window.testRunner) { |
| testRunner.setPrinting(); |
| |
| // Dump as text to disable screenshots and pixel results, because otherwise that |
| // would hide the bug that this test wants to test. :-S |
| testRunner.dumpAsText(); |
| } |
| </script> |
| <p>This is a test that only dumps the layout tree, and doesn't actually display the page. This |
| tests some peculiarities in the test framework for printing. To run this test manually, run it |
| with content_shell --run-layout-test</p> |
| <div>This should be on page 1.</div> |
| <div style="page-break-before:always;"> |
| This should be on page 2. |
| </div> |