| OLD | NEW |
| 1 Using document.register() for extending HTML and non-HTML elements. | 1 Using document.registerElement() for extending HTML and non-HTML elements. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS html1.namespaceURI is "http://www.w3.org/1999/xhtml" | 6 PASS html1.namespaceURI is "http://www.w3.org/1999/xhtml" |
| 7 PASS html2.namespaceURI is "http://www.w3.org/1999/xhtml" | 7 PASS html2.namespaceURI is "http://www.w3.org/1999/xhtml" |
| 8 PASS html3.namespaceURI is "http://www.w3.org/1999/xhtml" | 8 PASS html3.namespaceURI is "http://www.w3.org/1999/xhtml" |
| 9 PASS html4.namespaceURI is "http://www.w3.org/1999/xhtml" | 9 PASS html4.namespaceURI is "http://www.w3.org/1999/xhtml" |
| 10 PASS notHTML.namespaceURI is "http://www.example.com/" | 10 PASS notHTML.namespaceURI is "http://www.example.com/" |
| 11 PASS notHTML instanceof CustomHTMLElement is false | 11 PASS notHTML instanceof CustomHTMLElement is false |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25 PASS Object.getPrototypeOf(notSVG1) is HTMLElement.prototype | 25 PASS Object.getPrototypeOf(notSVG1) is HTMLElement.prototype |
| 26 PASS notSVG2.namespaceURI is "http://www.w3.org/1999/xhtml" | 26 PASS notSVG2.namespaceURI is "http://www.w3.org/1999/xhtml" |
| 27 PASS notSVG2 instanceof CustomSVGElement is false | 27 PASS notSVG2 instanceof CustomSVGElement is false |
| 28 PASS notSVG2 instanceof HTMLUnknownElement is false | 28 PASS notSVG2 instanceof HTMLUnknownElement is false |
| 29 PASS notSVG2 instanceof HTMLElement is true | 29 PASS notSVG2 instanceof HTMLElement is true |
| 30 PASS Object.getPrototypeOf(notSVG2) is HTMLElement.prototype | 30 PASS Object.getPrototypeOf(notSVG2) is HTMLElement.prototype |
| 31 PASS successfullyParsed is true | 31 PASS successfullyParsed is true |
| 32 | 32 |
| 33 TEST COMPLETE | 33 TEST COMPLETE |
| 34 | 34 |
| OLD | NEW |