blob: 7d3d001d578a8a9b1ef0335f2d85bbc631b77db3 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<!-- Makes sure we execute external scripts inside <svg>.
Test passes if external script runs before second inline script. -->
<div id="console"></div>
<svg>
<g>
<rect id="test">
<script xlink:href="resources/external.js"></script>
<script>
debug("second inline ran!");
</script>
</rect>
</g>
</svg>
</body>
</html>