6 <body style=
"margin:0; padding:0">
9 function log(message
) {
10 console_doc
= parent
.frames
[2].document
;
11 var item
= console_doc
.createElement("li");
12 item
.appendChild(console_doc
.createTextNode(message
));
13 console_doc
.getElementById('console_messages').appendChild(item
);
17 <div style=
"width:150; height:75; text-align:center;">
20 style=
"position: relative; top: 50"
21 ondrag=
"log('ondrag src')"
22 ondragstart=
"log('ondragstart src')"
23 ondragend=
"log('ondragend src')"
24 ondragenter=
"log('ondragenter src')"
25 ondragover=
"log('ondragover src')"
26 ondragleave=
"log('ondragleave src')"
27 ondrop=
"log('ondrop src')">
33 style=
"width:150; height:150; background-color:lightgreen; text-align:center;"
34 ondrag=
"alert('ondrag left target')"
35 ondragstart=
"alert('ondragstart left target')"
36 ondragend=
"alert('ondragend left target')"
37 ondragenter=
"log('ondragenter left target'); return false;"
38 ondragover=
"log('ondragover left target'); return false;"
39 ondragleave=
"log('ondragleave left target')"
40 ondrop=
"log('ondrop left target')">
41 <span style=
"position: relative; top: 50">Here
</span>
44 <p><a href=
"http://bugs.webkit.org/show_bug.cgi?id=7323" target=
"_top">Bug
7323</a>:
45 REGRESSION (
10.4.4): ondrag* events don't fire on page in a frame
</p>
46 <p>This test works only in automatic mode, but you can also try dragging manually to compare the results with other browsers.
</p>