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

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

Issue 746433002: Revive tests for Attr.ownerElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/fast/dom/Attr/access-after-element-destruction-expected.txt » ('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);
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 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698