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

Unified Diff: third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print.html

Issue 2040963002: Get the correct number of pages to paint a fixed object on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print.html
diff --git a/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print.html b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print.html
new file mode 100644
index 0000000000000000000000000000000000000000..8c61eaa1dbd2b2fdbda492e553a42b6bd0f2fb48
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<style>
+html{height:100%}
+.child {position:absolute;top:-600px;width:100px; height: 100px; background-color: red; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.setPrinting();
+</script>
+<p>crbug.com/617533: There should be no red square below.
+<div style="position: fixed;">
+ <div class="child"></div>
+</div>
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/fixed-positioned-child-shouldnt-print-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698