Index: LayoutTests/svg/in-html/nested-scripts.html |
diff --git a/LayoutTests/svg/in-html/script.html b/LayoutTests/svg/in-html/nested-scripts.html |
similarity index 62% |
copy from LayoutTests/svg/in-html/script.html |
copy to LayoutTests/svg/in-html/nested-scripts.html |
index 6fc03af4b244768db8527bf2f6af49faed2544d2..7d93cff2a94ef971bf420a6777102e23d483244c 100644 |
--- a/LayoutTests/svg/in-html/script.html |
+++ b/LayoutTests/svg/in-html/nested-scripts.html |
@@ -7,13 +7,14 @@ |
</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!"); |
+ // Notice that the parent script block ignores the nested |
+ // script element. |
+ debug('Hello<script>debug("inner script ran!");</script>World'); |
</script> |
</rect> |
</g> |