Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-inherit-style.svg
blobdc5227ced764525d871ceef8d8d8d48c9e1a26bd
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
4 <g id="g">
5 <use xlink:href="#rect" />
6 </g>
8 <defs>
9 <rect id="rect" x="0" y="0" width="100" height="60" />
10 </defs>
12 <script>
13 function repaintTest() {
14 document.getElementById("g").setAttribute("fill", "#00FF00");
16 </script>
18 </svg>