| <html> | |
| <head> | |
| <script src="../../resources/js-test.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> |