5 #target { transform:translateZ(
0); background:yellow; }
6 #target:hover { background:green; }
9 <div id=
"mc" style=
"-webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:400px; height:200px;">
10 <div style=
"height:220px;"></div>
11 <div id=
"target" style=
"width:100px; height:100px;"></div>
14 <div id=
"result"></div>
17 if (window
.testRunner
)
18 testRunner
.dumpAsText();
20 var result
= document
.getElementById("result");
21 var hitElement
= document
.elementFromPoint(250, 50);
22 if (hitElement
=== document
.getElementById("target"))
23 result
.innerText
= "PASS";
25 result
.innerText
= "FAIL: Hit " + hitElement
;