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;">
4 <div style=
"height: 50%;"></div>
5 <div style=
"height: 50%;"></div>
6 <div style=
"height: 50%;"></div>
7 <div id=
"target" style=
"height: 50%;"></div>
8 <div id=
"result"></div>
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
13 // FIXME: This is incorrect. The startContainer should be the 3rd div, not the 4th.
14 document
.getElementById("result").innerText
= document
.caretRangeFromPoint(115, 550).startContainer
=== document
.getElementById("target") ? "PASS" : "FAIL";