blob: 8c5127b690fb687cdc6fb4ceb5a311484e66d2d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com"/>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="For boxes with no preferred aspect ratio">
<link rel="match" href="flexbox-iframe-intrinsic-size-001-ref.html">
<meta name="assert" content="Checks that the default iframe size does not imply having an aspect ratio." />
<style>
div {
display: flex;
height: 400px;
}
iframe {
flex: 1 1 auto;
border: 0;
}
</style>
<p>This test PASS if you see two equally sized blue and green boxes.</p>
<div>
<iframe style='background: blue;'></iframe>
<iframe style='background: green;'></iframe>
</div>
|