blob: 762436fba9ea929a26b7521024aed4f9105bcdb8 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<body>
Test for crbug.com/279434: This test passes if there is a green square below.<br/>
<div id="container"></div>
<script>
document.getElementById('container').innerHTML =
'<svg width="150" height="150">' +
'<rect id="g" x="200" y="200" width="100" height="100"/>' +
'<use x="-200" y="-200" xlink:href="#g"/>' +
'</svg>';
document.getElementById("g").setAttribute("fill", "green");
</script>
</body>
</html>