Sign in
webkit
/
WebKit
/
f2ca8478512b6b671ac07982ba0b14fb66e64924
/
.
/
LayoutTests
/
imported
/
blink
/
fast
/
events
/
touch
/
gesture
/
resources
/
event-delegator.html
blob: 22a84ac15b51297493cc8c9e4295e73bc274fba4 [
file
] [
log
] [
blame
]
<style>
body
{
height
:
500px
;
width
:
500px
;
}
</style>
<script>
var
eventTypes
=
[
'mousemove'
,
'mousedown'
,
'mouseup'
,
'click'
];
for
(
var
i
=
0
;
i
<
eventTypes
.
length
;
i
++)
document
.
addEventListener
(
eventTypes
[
i
],
parent
.
onEventInFrame
);
</script>