Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / repaint-on-constant-size-change.svg
blob65077c275362f0b9bcef8b41568af8b94207e81e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
4 <image xlink:href="../../css2.1/support/swatch-green.png" x="0" y="0" width="200" height="100" />
6 <script>
7 function repaintTest() {
8 var image = document.getElementsByTagName('image')[0];
9 image.setAttribute("x", 0);
10 image.setAttribute("y", 0);
11 image.setAttribute("width", 200);
12 image.setAttribute("height", 100);
14 </script>
15 </svg>