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-overflow.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="fieldset-as-item-overflow-ref.html">
<meta name="assert" content="A fieldset element when flex-shrink is applied has scrollable overflow.">
<div style="display: flex; flex-direction: column; width: 100px; height: 100px; border: solid;">
<fieldset style="margin: 0; border: none; padding: 0; overflow-y: scroll; overflow-x: hidden; flex-grow: 1;">
<div style="height: 200px; background: green;"></div>
</fieldset>
</div>