Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexbox-iframe-intrinsic-size-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com"/>
<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>