diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox-iframe-intrinsic-size-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/flexbox-iframe-intrinsic-size-001.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox-iframe-intrinsic-size-001.html b/testing/web-platform/tests/css/css-flexbox/flexbox-iframe-intrinsic-size-001.html new file mode 100644 index 0000000000..8c5127b690 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/flexbox-iframe-intrinsic-size-001.html @@ -0,0 +1,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> + + |