1
0
Fork 0
firefox/testing/web-platform/tests/css/css-flexbox/dynamic-stretch-change.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
522 B
HTML

<!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: 200px;">
<div style="display: flex; flex-grow: 1; min-height: 100px;">
<div style="background: green; flex: 1;"></div>
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.alignItems = 'start';
</script>