blob: f7d0f7d9c9a5ad27241177801d5528b38fc738bd [file] [log] [blame]
<!doctype html>
<head>
<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
<script>
function repaintTest() {
var svg = document.getElementById("svg");
svg.pauseAnimations();
svg.setCurrentTime(5);
}
</script>
<style>
div {
height:100px; width:100px;
}
svg { overflow: visible; }
</style>
</head>
<body>
<div>
<svg id="svg" height="100" width="100" viewbox="0 0 100 100">
<rect y="200" width="100" height="100" fill="blue">
<animate attributeName="y" to="150" dur="1s" begin="1s" fill="freeze"/>
</rect>
</svg>
</div>
<script>
runRepaintAndPixelTest();
</script>
</body>