Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: third_party/WebKit/LayoutTests/printing/forced-break-tree-dump-only.html

Issue 1413573004: Set page height for printing tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out patch set 4 and mark tests with NeedsManualRebaseline. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698