OLD | NEW |
1 <html> | 1 <html> |
2 <body style="margin: 0;"> | 2 <body style="margin: 0;"> |
3 <div style="-webkit-writing-mode: horizontal-bt; overflow: -webkit-paged
-x; -webkit-column-gap: 20px; height: 600px; width: 100px;"> | 3 <div style="-webkit-writing-mode: horizontal-bt; overflow: -webkit-paged
-x; -webkit-column-gap: 20px; height: 600px; width: 100px;"> |
4 <div style="height: 50%;"></div> | 4 <div style="height: 50%;"></div> |
5 <div style="height: 50%;"></div> | 5 <div style="height: 50%;"></div> |
6 <div style="height: 50%;"></div> | 6 <div style="height: 50%;"></div> |
7 <div id="target" style="height: 50%;"></div> | 7 <div id="target" style="height: 50%;"></div> |
8 <div id="result"></div> | 8 <div id="result"></div> |
9 </div> | 9 </div> |
10 <script> | 10 <script> |
11 if (window.testRunner) | 11 if (window.testRunner) |
12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
13 // FIXME: This is incorrect. The startContainer should be the 3rd di
v, not the 4th. | 13 // FIXME: This is incorrect. The startContainer should be the 3rd di
v, not the 4th. |
14 document.getElementById("result").innerText = document.caretRangeFro
mPoint(115, 550).startContainer === document.getElementById("target") ? "PASS" :
"FAIL"; | 14 document.getElementById("result").innerText = document.caretRangeFro
mPoint(115, 550).startContainer === document.getElementById("target") ? "PASS" :
"FAIL"; |
15 </script> | 15 </script> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
OLD | NEW |