OLD | NEW |
---|---|
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <!-- Test for WK92604 - Passes if no crash occurs and "PASS" is printed. --> | 3 <!-- Test for WK92604 - Passes if no crash occurs and "PASS" is printed. --> |
4 <body id="body"> | 4 <body id="body"> |
5 <svg xmlns="http://www.w3.org/2000/svg"> | 5 <svg xmlns="http://www.w3.org/2000/svg"> |
6 <line stroke="green" vector-effect="non-scaling-stroke" y2="1"/> | 6 <line stroke="green" vector-effect="non-scaling-stroke" y2="1"/> |
7 <defs id="defs"></defs> | 7 <defs id="defs"></defs> |
8 </svg> | 8 </svg> |
9 <script> | 9 <script> |
10 if (window.testRunner) { | 10 if (window.testRunner) { |
(...skipping 11 matching lines...) Expand all Loading... | |
22 | 22 |
23 document.write("This test passes if no crash occurs and PASS is printed. PASS"); | 23 document.write("This test passes if no crash occurs and PASS is printed. PASS"); |
24 | 24 |
25 if (window.testRunner) | 25 if (window.testRunner) |
26 testRunner.notifyDone(); | 26 testRunner.notifyDone(); |
27 }, false); | 27 }, false); |
28 | 28 |
29 function doCrash() { | 29 function doCrash() { |
30 var farthestViewportElement = defs["farthestViewportElement"]; | 30 var farthestViewportElement = defs["farthestViewportElement"]; |
31 var externalResourcesRequired = farthestViewportElement["externalResourc esRequired"]; | 31 var externalResourcesRequired = farthestViewportElement["externalResourc esRequired"]; |
32 externalResourcesRequired["baseVal"] = undefined; | 32 if (externalResourcesRequired) |
33 externalResourcesRequired["baseVal"] = undefined; | |
Stephen Chennney
2013/11/06 16:45:43
I think you can remove this test and its result. I
Erik Dahlström (inactive)
2013/11/07 09:38:04
fine by me, I was unsure what to do with it since
| |
33 body.offsetWidth; | 34 body.offsetWidth; |
34 body.innerHTML = "FAIL"; | 35 body.innerHTML = "FAIL"; |
35 } | 36 } |
36 </script> | 37 </script> |
37 </body> | 38 </body> |
38 </html> | 39 </html> |
OLD | NEW |