blob: 4d363b46c86ab2c2c8efa501247665da713ad848 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" style="position: static">
<rect width="100" height="100" fill="red" />
<rect id="rect" width="1" height="1" fill="green" style="position: absolute" />
<script>
<![CDATA[
if (window.layoutTestController)
layoutTestController.waitUntilDone();
var test = function() {
var rect = document.getElementById('rect');
rect.setAttribute("width", "100");
rect.setAttribute("height", "100");
if (window.layoutTestController)
layoutTestController.notifyDone();
}
window.setTimeout(test, 0);
]]>
</script>
</svg>