23 lines
446 B
HTML
23 lines
446 B
HTML
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- Makes sure we execute scripts inside <svg>. Test passes if PASS is printed. -->
|
|
<div id="console"></div>
|
|
<svg>
|
|
<g>
|
|
<rect id="test">
|
|
<script>
|
|
testPassed("script ran!");
|
|
</script>
|
|
</rect>
|
|
</g>
|
|
</svg>
|
|
</body>
|
|
</html>
|