Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / hit-test-gap-between-pages-flipped.html
blob829f52951c3d5074fb4be53fa258fc4ac85443cc
1 <html>
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>
9 </div>
10 <script>
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";
15 </script>
16 </body>
17 </html>