Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / js-update-style.svg
blob2f81f3312bad0ba98d84896d2e42d6f0412ad79d
1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
5 <script>
6 function repaintTest() {
7 document.getElementsByTagName("g")[0].setAttribute("stroke-width", "0");
9 </script>
11 <g fill="green" stroke-width="0.2cm" stroke="red" onclick="mouseHandler(evt)">
12 <rect x="10" y="10" width="150" height="50"/>
13 <rect x="10" y="70" width="150" height="50"/>
14 <rect x="10" y="130" width="150" height="50"/>
15 <rect x="10" y="190" width="150" height="50"/>
16 </g>
18 </svg>