summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html b/testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html
new file mode 100644
index 0000000000..1996370f03
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/grid-flex-item-003.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<link rel="help" href="https://crbug.com/1077524">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<meta name="assert" content="Grid item in 0-height grid flex-item doesn't get the flexbox's height." />
+
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="background: green; display: flex; flex-direction: column; width: 100px; height: 100px;">
+ <div style="background: blue; display: grid; grid-template-rows: auto;">
+ <div style="background: red;"></div>
+ </div>
+</div>