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

Side by Side Diff: LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt

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
OLDNEW
1 Test that different ways of changing an element's id all work properly. 1 Test that different ways of changing an element's id all work properly.
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 6
7 1. Check id after parsing. 7 1. Check id after parsing.
8 PASS document.getElementById("a") is document.body 8 PASS document.getElementById("a") is document.body
9 PASS document.body.id is "a" 9 PASS document.body.id is "a"
10 PASS document.body.getAttributeNode("id").isId is true
11 PASS document.body.getAttributeNode("id").textContent is "a" 10 PASS document.body.getAttributeNode("id").textContent is "a"
12 11
13 2. Change Attr.value. 12 2. Change Attr.value.
14 PASS document.getElementById("a") is null 13 PASS document.getElementById("a") is null
15 PASS document.getElementById("b") is document.body 14 PASS document.getElementById("b") is document.body
16 PASS document.body.getAttributeNode("id").textContent is "b" 15 PASS document.body.getAttributeNode("id").textContent is "b"
17 16
18 3. Change HTMLElement.id. 17 3. Change HTMLElement.id.
19 PASS document.getElementById("b") is null 18 PASS document.getElementById("b") is null
20 PASS document.getElementById("c") is document.body 19 PASS document.getElementById("c") is document.body
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 160
162 23. Add an Attr node over an existing one. 161 23. Add an Attr node over an existing one.
163 PASS document.getElementById("o") is null 162 PASS document.getElementById("o") is null
164 PASS document.getElementById("p") is document.body 163 PASS document.getElementById("p") is document.body
165 PASS document.body.id is "p" 164 PASS document.body.id is "p"
166 PASS document.body.getAttribute("id") is "p" 165 PASS document.body.getAttribute("id") is "p"
167 PASS successfullyParsed is true 166 PASS successfullyParsed is true
168 167
169 TEST COMPLETE 168 TEST COMPLETE
170 169
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698