blob: 0b4b82931ad3c10cd8830cf6a662966bbc161aa2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
This test passes if there is no crash.
<script>
if (window.testRunner)
testRunner.dumpAsText();
var parser = new DOMParser();
var doc = parser.parseFromString("<?xml><!DOCTYPE svg><svg></svg>", "application/xml");
var style = getComputedStyle(doc.children[0]);
style.cssText;
</script>
</body>
</html>