Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / writing-mode / vertical-inline-block-hittest.html
blob63d25e86077a214cf43d0754871a74db1a54d833
1 <!DOCTYPE html>
2 <html>
3 <body style="margin: 0px">
4 <div id="target" style="-webkit-writing-mode: vertical-rl; border: solid 1px black; font-family: Ahem">
5 <br />
6 <span style="display: inline-block"><a>b</a></span>
7 </div>
8 <p id="description"></p>
9 <div id="console"></div>
10 <script src='../../resources/js-test.js'></script>
11 <script>
12 function runTests() {
13 description("Test that we can click 2nd line inside inline-block in vertical writing mode.");
14 elementInsideInlineBlockInSecondLine = document.querySelector("a");
15 shouldBe("document.elementFromPoint(5, 5)", "elementInsideInlineBlockInSecondLine");
16 document.getElementById("target").style.display = "none";
18 runTests();
19 </script>
20 </body>
21 </html>