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

Unified Diff: third_party/WebKit/LayoutTests/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html

Issue 1575983002: Display fixed position objects on every page of paged media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 8 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/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html
diff --git a/third_party/WebKit/LayoutTests/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html b/third_party/WebKit/LayoutTests/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html
new file mode 100644
index 0000000000000000000000000000000000000000..aa510aeacb42b93f3de6fa09ee60abab6d428b53
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style media="print">
+#myheader
+{
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 500px;
+ border: 5px solid black;
+}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<div id="myheader">
+ <div>
+ crbug.com/303728: Header Line should be repeated on every page except where it's clipped by the absolute element on pages 3 and 4.
+ <hr/>
+ </div>
+</div>
+<div style="position: absolute; left: 0px; top: 1000px; width: 600px; height: 2000px; background-color: black; z-index: 2">Absolute</div>
+<div style="height: 5000px"></div>

Powered by Google App Engine
This is Rietveld 408576698