inline-box-border-vlr-001.html (906B)
1 <!DOCTYPE html> 2 <link rel="author" href="kojii@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the writing-mode property"> 4 <link rel="match" href="reference/inline-box-border-vlr-001.html"> 5 <meta content="This test checks that block direciton borders applied to inline boxes do not affect the height of the line box, in vertical-lr writing-mode. The border is set to transparent to make this a ref-test."> 6 <style> 7 html { 8 margin: 0; 9 font-size: 20px; 10 } 11 body { 12 margin: 1em; 13 border: 1px solid blue; 14 } 15 body > div { 16 margin-bottom: 2em; 17 border: 1px solid black; 18 } 19 </style> 20 <body> 21 <div style="writing-mode: vertical-lr; height: 1em"> 22 <div><span>a</span></div> 23 </div> 24 <div style="writing-mode: vertical-lr; height: 1em"> 25 <div><span style="border-left: 20px solid transparent">a</span></div> 26 </div> 27 </body>