blob: a4e7c1f75760e4bdd246ec7bfa4904292f8a5be5 [file] [log] [blame]
<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>