9 -webkit-column-gap:
20px;
11 unicode-bidi: bidi-override;
12 -webkit-writing-mode: vertical-lr;
25 <p id=
"description"></p>
26 <div id=
"console"></div>
30 <!-- Here's an empty block to trigger wrapping of the sibling text inside an anonymous block. -->
31 </div>xxx xxx xxx xxx xxx xxx xxx xxx xxx
</div>
32 <script src=
"../../../resources/js-test.js"></script>
34 description("Test that hitting an anonymous block child of a multicol container takes us to the right text content.");
36 debug("First column:");
37 shouldBe("document.caretRangeFromPoint(119,250).startOffset", "3");
38 shouldBe("document.caretRangeFromPoint(120,250).startOffset", "7");
39 shouldBe("document.caretRangeFromPoint(140,250).startOffset", "11");
41 debug("Second column:");
42 shouldBe("document.caretRangeFromPoint(119,150).startOffset", "15");
43 shouldBe("document.caretRangeFromPoint(120,150).startOffset", "19");
44 shouldBe("document.caretRangeFromPoint(140,150).startOffset", "23");
46 debug("Third column:");
47 shouldBe("document.caretRangeFromPoint(119,50).startOffset", "27");
48 shouldBe("document.caretRangeFromPoint(120,50).startOffset", "31");
49 shouldBe("document.caretRangeFromPoint(140,50).startOffset", "35");