summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html b/testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html
new file mode 100644
index 0000000000..814b228e36
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/">
+<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" style="display: flex; width: 100px; height: 0; background: green;">
+ <fieldset style="border: none; padding: 0;">
+ <div style="height: 100px;"></div>
+ </fieldset>
+</div>
+<script>
+document.body.offsetTop;
+document.getElementById('target').style.height = 'auto';
+</script>