OLD | NEW |
| (Empty) |
1 Test that setting innerHTML and outerHTML properties works on SVG elements | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS svg.innerHTML is "<rect></rect>" | |
7 PASS svg.firstChild.namespaceURI is "http://www.w3.org/2000/svg" | |
8 PASS svg.innerHTML is "<foreignObject><svg></svg></foreignObject>" | |
9 PASS svg.firstChild.namespaceURI is "http://www.w3.org/2000/svg" | |
10 PASS svg.firstChild.firstChild.namespaceURI is "http://www.w3.org/2000/svg" | |
11 PASS svg.innerHTML is "<foreignObject><p>x</p></foreignObject>" | |
12 PASS svg.firstChild.namespaceURI is "http://www.w3.org/2000/svg" | |
13 PASS svg.firstChild.firstChild.namespaceURI is "http://www.w3.org/1999/xhtml" | |
14 PASS svg.innerHTML is "<circle></circle>" | |
15 PASS svg.firstChild.namespaceURI is "http://www.w3.org/2000/svg" | |
16 PASS successfullyParsed is true | |
17 | |
18 TEST COMPLETE | |
19 | |
OLD | NEW |