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

Unified Diff: third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height-expected.html

Issue 2053463003: Use the doc rect to figure out how many pages there are (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@617553
Patch Set: Updated Created 4 years, 6 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-child-repeats-even-when-html-and-body-are-zero-height-expected.html
diff --git a/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height-expected.html b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..888563ced51a10806b6bf75d46e83f2be31aebbb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height-expected.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+.child {position:absolute;top:60px;width:100px; height: 100px; background-color: green; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<p>crbug.com/618230: There should be a green square below.
+<div style="position: fixed;">
+ <div class="child"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698