<!DOCTYPE html>
<html>
<head>
<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
</head>
<body onload="runRepaintTest()">
<svg style="position: absolute; top: 0px; left: 0px; width: 500px; height: 200px">
    <foreignObject id="target" transform="scale(0.001)" x="50" y="13" width="100" height="100">
        <body><p style="font-size: 40px; color: #080; margin: 0;">PASS</p></body>
    </foreignObject>
</svg>
<script>
    function repaintTest() {
        document.getElementById("target").setAttribute('transform', 'scale(1)');
    }
</script>
</body>
</html>
