contain-inline-size-vertical-rl-.html (688B)
1 <!DOCTYPE html> 2 <title>contain:inline-size on element with vertical writing-mode</title> 3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property"> 5 <link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="writing-mode:vertical-rl; contain:inline-size; width:fit-content; border:solid green; border-width:50px 0; background:red;"> 9 <div style="width:100px; height:100px;"></div> 10 </div>