blob: e18be574a277bb1e8b07537ceae3d97f99d944a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-aspect-ratio-019.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head><title>CSS aspect-ratio: Row flexbox main size with flex-basis:content</title>
<link href="https://www.mozilla.org/" rel="author" title="Mozilla">
<link href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio" rel="help">
<link href="https://drafts.csswg.org/css-flexbox-1/#algo-main-item" rel="help">
<link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/ref-filled-green-100px-square.htm" rel="match">
</head><body><p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex;">
<div style="background: green; flex-basis: content; height: 100px;
aspect-ratio: 1/1; min-width: 0;"></div>
</div>
</body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-aspect-ratio-019.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>
|