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> |