blob: 0d26e6296e88e853a4ec326e562dbec9bfac063a [file] [log] [blame]
<html>
<!-- This test passes if there is no crash or assert -->
<style>
text { text-transform: uppercase; }
</style>
<script>
function testCrash() {
document.body.offsetWidth;
var test = document.getElementById('test');
test.removeChild(test.firstChild);
var textNode = document.createTextNode("PASS");
test.appendChild(textNode);
}
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body onload="testCrash()">
<svg>
<text id="test" x="0" y="15">FAIL</text>
</svg>
</body>
</html>