1 <span id=
"target" style=
"padding-bottom: 100px; background-color: red; padding-left: 100px; position: relative;"></span>
3 document
.getElementById("target").addEventListener("click", function(event
) {
4 event
.target
.style
.backgroundColor
= "green";
5 document
.body
.appendChild(document
.createTextNode("PASS"));
8 document
.body
.offsetTop
;
9 if (window
.testRunner
) {
10 testRunner
.dumpAsText();
11 eventSender
.mouseMoveTo(50, 50);
12 eventSender
.mouseDown();
13 eventSender
.mouseUp();