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
/
svg
/
custom
/
evt-onload.svg
blob
a76d8157cba5e2cb933e002f7f6a9a7f45b021e0
1
<svg
xmlns
=
"http://www.w3.org/2000/svg"
xmlns:
xlink
=
"http://www.w3.org/1999/xlink"
onload
=
"test(evt)"
>
2
<script>
3
function test(evt) {
4
if (evt)
5
document.getElementById(
"rect"
).setAttribute(
"fill"
,
"green"
);
6
}
7
</script>
8
<rect
id
=
"rect"
width
=
"100"
height
=
"100"
fill
=
"red"
/>
9
</svg>