Index: third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
diff --git a/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5a5886b10def48a719f0e8f7d2c10cd5f81efca |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
@@ -0,0 +1,7 @@ |
+<!DOCTYPE html> |
+<p> |
+The test passes if the inner green rectangle covers the outer red one. There should be no red. |
+</p> |
+<div style="background: red; width: 70px; height: 70px; position: relative; left: 40px; top: 40px;"> |
+ <div style="background: green; width: 70px; height: 70px; position: fixed;"></div> |
+</div> |