orthogonal-dynamic-size-001.html (620B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" /> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1954866" /> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht" /> 7 8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 9 10 <div id="container" style="width: 100px; height: 50px; background-color: red"> 11 <div style="height: 100%; width: 100px; writing-mode: vertical-lr; background-color: green;"> 12 </div> 13 </div> 14 15 <script> 16 container.offsetHeight; 17 container.style.height = "100px"; 18 </script>