justify-content-sideways-001.html (911B)
1 <!DOCTYPE html> 2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-align/#align-justify-content"> 4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes/#block-flow"> 5 <meta name="assert" content="column flexboxes in sideways-lr writing mode obey justify-content:right"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 #reference-overlapped-red { 9 position: absolute; 10 background-color: red; 11 width: 100px; 12 height: 100px; 13 z-index: -1; 14 } 15 </style> 16 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 17 <div id=reference-overlapped-red></div> 18 <div style="display: flex; flex-direction: column; width: 200px; margin-left: -100px; writing-mode: sideways-lr; justify-content: right;"> 19 <div style="height: 100px; width: 100px; background: green;"></div> 20 </div>