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