2 #target { background-color: red; }
3 #target:hover { background-color: green; }
5 <div style=
"margin: 100px 0 0 92px; -webkit-writing-mode: horizontal-bt; height: 100px; width: 100px;">
6 <div style=
"height: 100px;"></div>
7 <div id=
"target" style=
"height: 50px;"></div>
10 This tests hit-testing in the overflow area of flipped-blocks writing mode
14 The red rectangle should turn green when you hover over it.
19 var target
= document
.getElementById("target");
20 var result
= document
.elementFromPoint(150, 75);
21 if (window
.testRunner
)
22 testRunner
.dumpAsText();
24 document
.getElementById("result").innerText
= result
=== target
? "PASS" : "FAIL";