Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / evt-onload.svg
bloba76d8157cba5e2cb933e002f7f6a9a7f45b021e0
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");
7 </script>
8 <rect id="rect" width="100" height="100" fill="red"/>
9 </svg>