Bug 1594769 [wpt PR 20152] - [taskcluster] Disable Chrome sandboxing in Docker, a...
[gecko.git] / testing / web-platform / tests / css / css-intrinsic-size / intrinsic-size-with-legacy-002-ref.html
blob535915a7a7bed54142f731a21eb20a97379650a1
1 <!doctype html>
2 <meta charset="utf8">
3 <title>CSS intrinsic-size: flex with legacy intrinsic dimensions</title>
4 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
5 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
7 <style>
8 #flex {
9 display: flex;
10 flex-direction: column;
11 height: 500px;
13 .item {
14 width: max-content;
16 #one {
17 background: lightblue;
18 flex-grow: 3;
20 #one > div {
21 height: 222px;
23 #two {
24 background: lightgreen;
25 width: 333px;
26 flex-grow: 2;
28 #three {
29 background: lightgrey;
30 flex-grow: 1;
32 #three > div {
33 height: 444px;
35 </style>
37 <div id=flex>
38 <div class=item id=one><div>Lorem ipsum</div></div>
39 <div class=item id=two>dolor sit amet</div>
40 <div class=item id=three><div>consectetur adipiscing elit</div></div>
41 </div>