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

Unified Diff: third_party/WebKit/LayoutTests/printing/absolute-positioned-expected.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-expected.html
diff --git a/third_party/WebKit/LayoutTests/printing/absolute-positioned-expected.html b/third_party/WebKit/LayoutTests/printing/absolute-positioned-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..671dfa1e10c91e2d17f12f7b3758ef29c10446ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/absolute-positioned-expected.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<style>
+ html, body { height:100%; margin:0; }
+</style>
+<div style="height:100%; box-sizing:border-box; height:100%; border:5px solid yellow; padding:3px;">
+ There should be a yellow border around this page.
+</div>
+<div style="page-break-before:always; margin:0 8px;">
+ This is the second page. There should be no border here.
+</div>

Powered by Google App Engine
This is Rietveld 408576698