| <!doctype html> |
| <title>orthogonal flow parent with max-height</title> |
| <meta charset=utf-8> |
| <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> |
| <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto"> |
| <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"> |
| <link rel="match" href="reference/available-size-011-ref.html"> |
| <meta name="flags" content=""> |
| <style> |
| main { |
| max-height: 1em; |
| line-height: 1em; |
| } |
| div { |
| writing-mode: vertical-rl; |
| } |
| </style> |
| |
| <p>This test passes if the word “PASS” (without the quotation marks) appears below, written horizontally from left to right. |
| <main><div>S S A P</div></main> |