summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/fieldset-as-item-dynamic.html
blob: 814b228e3650a65b742ae9c0f2fd6e9fc5b2a4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>