blob: 05dbcf0cf3de4fd1c35f15f000c427d0ca178b19 [file] [log] [blame]
<span id="target" style="padding-bottom: 100px; background-color: red; padding-left: 100px; position: relative;"></span>
<script>
document.getElementById("target").addEventListener("click", function(event) {
event.target.style.backgroundColor = "green";
document.body.appendChild(document.createTextNode("PASS"));
});
document.body.offsetTop;
if (window.testRunner) {
testRunner.dumpAsText();
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>