| <!DOCTYPE html> | |
| <style> | |
| #relative { | |
| position: relative; | |
| bottom: 15%; | |
| column-width: 1em; | |
| } | |
| #flex { | |
| background: url(); | |
| display: flex; | |
| flex-flow: column; | |
| writing-mode: vertical-rl; | |
| } | |
| </style> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| function appendHeadToFlex() { | |
| document.getElementById("flex").appendChild(document.head); | |
| } | |
| </script> | |
| <body onload=appendHeadToFlex()> | |
| <p>This test PASS if it does not crash or assert.</p> | |
| <div id="flex"> | |
| <div id="relative">XXX</div> | |
| </div> | |
| </body> |