blob: 2b8824f9940b755364aa7ab124ceea52229f5b93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/">
<link rel="help" href="https://drafts.csswg.org/css-grid-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="flex-grow: 1; min-height: 100px; display: grid;">
<div style="background: green;"></div>
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.alignItems = 'start';
</script>
|