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

Unified Diff: third_party/WebKit/LayoutTests/printing/absolute-positioned.html

Issue 1423643002: Print absolutely positioned objects correctly when sized against the viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Need to rebaseline some tests, and it has to be done manually because of more specific entries alre… 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/absolute-positioned.html
diff --git a/third_party/WebKit/LayoutTests/printing/absolute-positioned.html b/third_party/WebKit/LayoutTests/printing/absolute-positioned.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a2f7a8dd660d0c0c175c05fc9397caf4f32e7d4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/absolute-positioned.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<div style="position:absolute; top:0; left:0; right:0; bottom:0; border:5px solid yellow;"></div>
+There should be a yellow border around this page.
+<div style="page-break-before:always;">
+ This is the second page. There should be no border here.
+</div>

Powered by Google App Engine
This is Rietveld 408576698