blob: 9bd6448ee33f2bf1e7c82ce690f9871ec9388684 [file] [log] [blame]
<!DOCTYPE html>
<html>
Test passes if it does not crash.
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
svgdoc = document.getElementById('root').contentDocument;
var style = document.createElement('style');
var test1 = svgdoc.getElementById('test1');
test1.appendChild(style);
svgdoc.getElementById('test2').setAttribute('xlink:href', 0);
svgdoc.getElementById('test').setAttribute('stroke', 0);
}
</script>
<object data="resources/stylesheet-candidate-node-crash.svg" id="root" onload="runTest();" type="image/svg+xml"></object>
</html>