| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> |
| <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| function repaintTest() { |
| document.getElementById('mover').setAttribute('y', 100); |
| } |
| </script> |
| <!-- After repositioning, the red rect should be completely hidden behind the second green rect. --> |
| |
| <g> |
| <rect fill="green" width="100" height="100"/> |
| |
| <svg id="mover" y="50"> |
| <rect fill="red" ay="50" width="100" height="50"/> |
| </svg> |
| |
| <rect y="100" fill="green" width="100" height="50"/> |
| </g> |
| </svg> |