available-size-011.html (757B)
1 <!doctype html> 2 <title>orthogonal flow parent with max-height</title> 3 <meta charset=utf-8> 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-auto"> 6 <meta name="assert" content="If an orthogonal flow's parent doesn't have a definite block size but does have a max block size, use that as the available size"> 7 <link rel="match" href="reference/available-size-011-ref.html"> 8 <style> 9 main { 10 max-height: 1em; 11 line-height: 1em; 12 } 13 div { 14 writing-mode: vertical-rl; 15 } 16 </style> 17 18 <p>This test passes if the word “PASS” (without the quotation marks) appears below, written horizontally from left to right. 19 <main><div>S S A P</div></main>