OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body style="margin: 0px"> | 3 <body style="margin: 0px"> |
4 <div id="target" style="-webkit-writing-mode: vertical-rl; border: solid 1px bla
ck; font-family: Ahem"> | 4 <div id="target" style="-webkit-writing-mode: vertical-rl; border: solid 1px bla
ck; font-family: Ahem"> |
5 <br /> | 5 <br /> |
6 <span style="display: inline-block"><a>b</a></span> | 6 <span style="display: inline-block"><a>b</a></span> |
7 </div> | 7 </div> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 <script src='../js/resources/js-test-pre.js'></script> | 10 <script src='../../resources/js-test.js'></script> |
11 <script> | 11 <script> |
12 function runTests() { | 12 function runTests() { |
13 description("Test that we can click 2nd line inside inline-block in vertical
writing mode."); | 13 description("Test that we can click 2nd line inside inline-block in vertical
writing mode."); |
14 elementInsideInlineBlockInSecondLine = document.querySelector("a"); | 14 elementInsideInlineBlockInSecondLine = document.querySelector("a"); |
15 shouldBe("document.elementFromPoint(5, 5)", "elementInsideInlineBlockInSecon
dLine"); | 15 shouldBe("document.elementFromPoint(5, 5)", "elementInsideInlineBlockInSecon
dLine"); |
16 document.getElementById("target").style.display = "none"; | 16 document.getElementById("target").style.display = "none"; |
17 } | 17 } |
18 runTests(); | 18 runTests(); |
19 </script> | 19 </script> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |