div-min-content-orthogonal-auto-margin-left.tentative.html (557B)
1 <!DOCTYPE HTML> 2 <title> Ensure left takes effect after element is centered for orthogonal writing mode </title> 3 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3973"> 4 <link rel="match" href="div-orthogonal-auto-margin-left-ref.html"> 5 <style> 6 #outer { 7 inset: 0; 8 background-color: black; 9 writing-mode: vertical-rl; 10 margin: auto; 11 left: 10px; 12 position: absolute; 13 block-size: min-content; 14 inline-size: 100px; 15 border: 5px solid red; 16 } 17 </style> 18 <div id="outer"><div style="block-size: 200px;"></div></div>