stretch-obeys-min-max-002.html (976B)
1 <!DOCTYPE html> 2 <title>item's min/max cross sizes</title> 3 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes" title="Bullet 1"> 5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 6 <meta name="assert" content="specified max cross size on ortho stretched items is honored pre-flexing" /> 7 8 <style> 9 .inline-block { 10 display: inline-block; 11 width: 50px; 12 height: 55px; 13 } 14 15 #reference-overlapped-red { 16 position: absolute; 17 background-color: red; 18 width: 100px; 19 height: 100px; 20 z-index: -1; 21 } 22 </style> 23 24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 25 26 <div id="reference-overlapped-red"></div> 27 28 <div style="display:flex; height: 110px;"> 29 <div style="writing-mode: vertical-lr; max-height: 100px; line-height: 0px; background: green;"> 30 <div class=inline-block></div><div class=inline-block></div> 31 </div> 32 </div>