| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 Copyright © 2001-2004 World Wide Web Consortium, | 3 Copyright © 2001-2004 World Wide Web Consortium, |
| 4 (Massachusetts Institute of Technology, European Research Consortium | 4 (Massachusetts Institute of Technology, European Research Consortium |
| 5 for Informatics and Mathematics, Keio University). All | 5 for Informatics and Mathematics, Keio University). All |
| 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the | 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the |
| 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
| 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 9 | 9 |
| 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 (outNode != null) | 132 (outNode != null) |
| 133 | 133 |
| 134 ) { | 134 ) { |
| 135 nodeType = outNode.nodeType; | 135 nodeType = outNode.nodeType; |
| 136 | 136 |
| 137 assertEquals("S1.2.2-Attribute-Nodes-nodeType",2,nodeType); | 137 assertEquals("S1.2.2-Attribute-Nodes-nodeType",2,nodeType); |
| 138 parent = outNode.parentNode; | 138 parent = outNode.parentNode; |
| 139 | 139 |
| 140 assertNull("S1.2.2-Attribute-Nodes-parentNode",parent); | 140 assertNull("S1.2.2-Attribute-Nodes-parentNode",parent); |
| 141 owner = outNode.ownerElement; |
| 142 |
| 143 ownerType = owner.nodeType; |
| 144 |
| 145 assertEquals("S1.2.2-Attribute-Nodes-owner-nodeType",1,ownerType); |
| 141 outNode = outresult.iterateNext(); | 146 outNode = outresult.iterateNext(); |
| 142 | 147 |
| 143 } | 148 } |
| 144 | 149 |
| 145 } | 150 } |
| 146 | 151 |
| 147 | 152 |
| 148 | 153 |
| 149 | 154 |
| 150 function runTest() { | 155 function runTest() { |
| 151 Attribute_Nodes(); | 156 Attribute_Nodes(); |
| 152 } | 157 } |
| OLD | NEW |