1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" id=
"root" onload=
"runTest()">
5 testRunner.dumpAsText();
9 var testSVG = document.getElementById('askedForIntersection');
10 var r = testSVG.createSVGRect();
16 var content = testSVG.getIntersectionList(r, testSVG).length ==
2 ? 'PASS' : 'FAIL';
17 var txt = document.createElementNS(
"http://www.w3.org/2000/svg",
"text");
18 txt.appendChild(document.createTextNode(content));
19 testSVG.appendChild(txt);
22 <rect x=
"0" y=
"0" width=
"100" height=
"100" id=
"r1"/>
23 <svg id=
"askedForIntersection">
24 <rect x=
"0" y=
"0" width=
"100" height=
"100" id=
"r2"/>
26 <rect x=
"0" y=
"0" width=
"100" height=
"100" id=
"r3"/>