Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / gradient-stop-style-change.svg
blobf1fbc68cb8dfb7a922dfb554adef496f34b2fb0f
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"/>
3 <defs>
4 <linearGradient id='test'>
5 <stop id='stop' offset='0' stop-color='red' />
6 </linearGradient>
7 </defs>
8 <rect fill="url(#test)" width='100' height='100' />
9 <script>
10 <![CDATA[
11 function repaintTest() {
12 document.getElementById("stop").style.stopColor = 'green';
14 ]]>
15 </script>
16 </svg>