Index: third_party/WebKit/LayoutTests/printing/forced-break-tree-dump-only.html |
diff --git a/third_party/WebKit/LayoutTests/printing/forced-break-tree-dump-only.html b/third_party/WebKit/LayoutTests/printing/forced-break-tree-dump-only.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..50c1686edcf05858c3492bd924d21ff6197ebc96 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/printing/forced-break-tree-dump-only.html |
@@ -0,0 +1,17 @@ |
+<!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> |