Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / resources / mouseover-mouseout2-iframe-3.html
blob48ce015f5eea4048a6668f101e65339a26e220d6
1 <body style="margin-left:0; margin-top:0">
2 <script>
3 function log(message)
5 var item = top.document.createElement("li");
6 item.appendChild(document.createTextNode(message));
7 top.document.getElementById("log").appendChild(item);
10 function logMouseEvent(evt)
12 target = (evt.target) ? evt.target : evt.srcElement;
13 log(evt.type + " on " + target.id);
16 function doOnMouseOver(evt)
18 logMouseEvent(evt);
19 top.document.getElementById("frame3").style.display = "none";
22 </script>
23 <div style="height: 50; width: 50; background:yellow; top:0;left:0; position:absolute;" id="t3_1"
24 onMouseOver="doOnMouseOver(event);"
25 onMouseOut="logMouseEvent(event)">3</div>
26 </body>