nested-orthogonal-001.html (794B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Writing mode</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-flows"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <meta name="assert" content="In the face of multiple levels of orthogonal flow nesting, children's sizes propagate up to parents."> 8 <style> 9 body > div { 10 background: green; 11 writing-mode: vertical-lr; 12 } 13 14 div > div { writing-mode: horizontal-tb; } 15 16 div > div > div { 17 writing-mode: vertical-rl; 18 height: 100px; 19 font-size: 100px; 20 line-height: 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> 27 <div><div> </div></div> 28 </div>