Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: LayoutTests/dom/svg/level3/xpath/Attribute_Nodes.js

Issue 124643003: Remove Attr.isId and Attr.ownerElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bump unused use counter slot number due to conflict. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/dom/xhtml/level3/core/attrisid04.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
146 outNode = outresult.iterateNext(); 141 outNode = outresult.iterateNext();
147 142
148 } 143 }
149 144
150 } 145 }
151 146
152 147
153 148
154 149
155 function runTest() { 150 function runTest() {
156 Attribute_Nodes(); 151 Attribute_Nodes();
157 } 152 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/dom/xhtml/level3/core/attrisid04.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698