Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/fieldset-as-item-dynamic.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<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>