Bug 1695510 [wpt PR 27817] - [AspectRatio] Fix flex-aspect-ratio-026.html in legacy...
[gecko.git] / testing / web-platform / tests / css / css-sizing / aspect-ratio / flex-aspect-ratio-027.html
blobc10f1f3f7048bc891ec8d73a70342a994213b565
1 <!DOCTYPE html>
2 <title>CSS aspect-ratio: Row flexbox and transferred min/max-size</title>
3 <link rel="author" title="Google LLC" href="https://www.google.com/">
4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
9 <div style="display: flex; flex-direction: row;">
10 <div style="background: green; width: 40px; height: 50px;" ></div>
11 <div style="background: green; width: 60px; max-height: 50px; aspect-ratio: 1/1;"></div>
12 </div>
13 <div style="display: flex; flex-direction: row;">
14 <div style="background: green; width: 40px; height: 50px;" ></div>
15 <div style="background: green; width: 60px; height: 60px; max-height: 50px; aspect-ratio: 1/1;"></div>
16 </div>