rwlbuis@webkit.org | cd0dd52 | 2012-05-16 14:47:05 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <svg id="root" xmlns="http://www.w3.org/2000/svg" onload="runTest()"> |
| 3 | <script> |
| 4 | function runTest() { |
fmalita@chromium.org | 4988a3e | 2012-08-01 23:05:16 +0000 | [diff] [blame] | 5 | if (window.testRunner) |
| 6 | testRunner.dumpAsText(); |
rwlbuis@webkit.org | cd0dd52 | 2012-05-16 14:47:05 +0000 | [diff] [blame] | 7 | var root = document.documentElement; |
| 8 | root.checkIntersection(null, root.createSVGRect()); |
| 9 | root.checkEnclosure(null, root.createSVGRect()); |
| 10 | } |
| 11 | </script> |
| 12 | <!-- This test passes if it does not crash. --> |
| 13 | <text>PASS</text> |
| 14 | </svg> |