summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html b/testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html
new file mode 100644
index 0000000000..5a5c9e3dcc
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=764458">
+<link rel="match" href="zindex-affects-block-in-inline-ref.html">
+<div style="position: relative; z-index: 1; background: red; width: 100px; height: 100px;"></div>
+<span style="position: relative; z-index: 2; top: -100px;">
+ <div style="background: green; width: 100px; height: 100px;"></div>
+</span>