OLD | NEW |
1 Test creation of each type of Node and check intial values | 1 Test creation of each type of Node and check intial values |
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 Attribute creation using createElement on an HTML doc: | 6 Attribute creation using createElement on an HTML doc: |
7 PASS attr.nodeName is 'foo' | 7 PASS attr.nodeName is 'foo' |
8 PASS attr.name is 'foo' | 8 PASS attr.name is 'foo' |
9 FAIL attr.localName should be null (of type object). Was foo (of type string). | 9 FAIL attr.localName should be null (of type object). Was foo (of type string). |
10 PASS attr.namespaceURI is null | 10 PASS attr.namespaceURI is null |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 PASS doctype.namespaceURI is null | 44 PASS doctype.namespaceURI is null |
45 PASS doctype.nodeValue is null | 45 PASS doctype.nodeValue is null |
46 Element creation using createElement on an HTML doc: | 46 Element creation using createElement on an HTML doc: |
47 PASS element.nodeName is 'PRE' | 47 PASS element.nodeName is 'PRE' |
48 FAIL element.localName should be null (of type object). Was pre (of type string)
. | 48 FAIL element.localName should be null (of type object). Was pre (of type string)
. |
49 FAIL element.namespaceURI should be null (of type object). Was http://www.w3.org
/1999/xhtml (of type string). | 49 FAIL element.namespaceURI should be null (of type object). Was http://www.w3.org
/1999/xhtml (of type string). |
50 PASS element.prefix is null | 50 PASS element.prefix is null |
51 PASS element.nodeValue is null | 51 PASS element.nodeValue is null |
52 PASS element.attributes.toString() is '[object NamedNodeMap]' | 52 PASS element.attributes.toString() is '[object NamedNodeMap]' |
53 Prefixed element creation using createElementNS on an HTML doc: | 53 Prefixed element creation using createElementNS on an HTML doc: |
54 PASS element.nodeName is 'html:pre' | 54 PASS element.nodeName is 'HTML:PRE' |
55 PASS element.localName is 'pre' | 55 PASS element.localName is 'pre' |
56 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml' | 56 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml' |
57 PASS element.prefix is 'html' | 57 PASS element.prefix is 'html' |
58 PASS element.nodeValue is null | 58 PASS element.nodeValue is null |
59 PASS element.attributes.toString() is '[object NamedNodeMap]' | 59 PASS element.attributes.toString() is '[object NamedNodeMap]' |
60 SVG Element creation using createElementNS on an HTML doc: | 60 SVG Element creation using createElementNS on an HTML doc: |
61 PASS element.nodeName is 'svg' | 61 PASS element.nodeName is 'svg' |
62 PASS element.localName is 'svg' | 62 PASS element.localName is 'svg' |
63 PASS element.namespaceURI is 'http://www.w3.org/2000/svg' | 63 PASS element.namespaceURI is 'http://www.w3.org/2000/svg' |
64 PASS element.prefix is null | 64 PASS element.prefix is null |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 Text node creation using createTextNode on an HTML doc: | 109 Text node creation using createTextNode on an HTML doc: |
110 PASS text.nodeName is '#text' | 110 PASS text.nodeName is '#text' |
111 PASS text.localName is null | 111 PASS text.localName is null |
112 PASS text.namespaceURI is null | 112 PASS text.namespaceURI is null |
113 PASS text.nodeValue is 'foo' | 113 PASS text.nodeValue is 'foo' |
114 PASS text.data is 'foo' | 114 PASS text.data is 'foo' |
115 PASS successfullyParsed is true | 115 PASS successfullyParsed is true |
116 | 116 |
117 TEST COMPLETE | 117 TEST COMPLETE |
118 | 118 |
OLD | NEW |