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

Unified Diff: third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height.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.html
diff --git a/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height.html b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..ddcd8d3505702e030c4d1879a3b5cf78cb6aa668
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+html{height:0}
+.child {position:absolute;top:60px;width:100px; height: 100px; background-color: green; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<body style="height: 0px;">
+<p>crbug.com/618230: There should be a green square below.
+<div style="position: fixed;">
+ <div class="child"></div>
+</div>
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/fixed-positioned-child-repeats-even-when-html-and-body-are-zero-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698