summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html b/testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html
new file mode 100644
index 0000000000..95c57d1429
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/grid-flex-item-005.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<link rel="help" href="https://crbug.com/1108928">
+<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
+<p>Test passes if there is a filled green square.</p>
+<div id="target">
+ <div style="display: flex; flex-direction: column">
+ <div style="display: grid; height: 0; flex: 1; grid-template-rows: minmax(100px, 200%);">
+ <div style="background: green;"></div>
+ </div>
+ </div>
+</div>
+<script>
+document.body.offsetTop;
+document.getElementById('target').style.width = '100px';
+</script>