| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> |
| <script xlink:href="../resources/text-based-repaint.js"></script> |
| <title>The rectangle should rapidly animate to green.</title> |
| <defs> |
| <filter id="filt"> |
| <feOffset /> |
| </filter> |
| </defs> |
| <rect id="rect" width="100px" height="100px" x="0" y="0" fill="red" filter="url(#filt)" /> |
| <script> |
| function repaintTest() { |
| document.getElementById('rect').setAttribute('fill', 'green'); |
| } |
| </script> |
| </svg> |