| OLD | NEW |
| (Empty) |
| 1 <div style="-webkit-writing-mode: horizontal-bt;"> | |
| 2 <div style=" | |
| 3 margin-top: 300px; | |
| 4 outline: dashed lightblue; | |
| 5 height: 100px; | |
| 6 width: 100px; | |
| 7 border-bottom: 25px solid; | |
| 8 -webkit-column-axis: vertical; | |
| 9 -webkit-column-gap: 50px; | |
| 10 "> | |
| 11 <div style="height: 100px; background-color: silver;"></div> | |
| 12 <div id="target" style="height: 100px; background-color: silver;"></div> | |
| 13 <div style="height: 100px; background-color: silver;"></div> | |
| 14 </div> | |
| 15 </div> | |
| 16 <p id="result">FAIL: Test did not run.</p> | |
| 17 <script> | |
| 18 if (window.testRunner) | |
| 19 testRunner.dumpAsText(); | |
| 20 | |
| 21 var hitContainer = document.caretRangeFromPoint(208, 208).startContainer; | |
| 22 var target = document.getElementById("target"); | |
| 23 document.getElementById("result").innerText = hitContainer === target ? "PAS
S" : "FAIL"; | |
| 24 </script> | |
| OLD | NEW |