repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
events
/
touch
/
gesture
/
resources
/
event-delegator.html
blob
22a84ac15b51297493cc8c9e4295e73bc274fba4
1
<style>
2
body {
3
height:
500
px;
4
width:
500
px;
5
}
6
</style>
7
<script>
8
var
eventTypes
= [
'mousemove'
,
'mousedown'
,
'mouseup'
,
'click'
];
9
for
(
var
i
=
0
;
i
<
eventTypes
.
length
;
i
++)
10
document
.
addEventListener
(
eventTypes
[
i
],
parent
.
onEventInFrame
);
11
</script>