Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / fill-update.svg
blobfdb58715ba77e9a9fc13674c12cefd5717bc7977
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 xmlns="http://www.w3.org/2000/svg" onload="myfunc()">
6 <script>
7 function myfunc() {
8 var myRect = document.getElementById("rect");
9 myRect.setAttribute("fill", "green");
11 </script>
12 <rect id="rect" x="0" y="0" width="90" height="90" fill="red" />
13 </svg>