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

Side by Side Diff: LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt

Issue 316583002: Correctly handle accessing a replaced Attr object's attribute value. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add setAttributeNode() FIXME Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html ('k') | Source/core/dom/Attr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Updating value of replaced attribute node
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS replaced = element.setAttributeNode(attr); replaced.name is "STYLE"
7 PASS replaced.value is "background-color: red"
8 PASS attr.name is "STYLE"
9 PASS attr.value is ""
10 PASS element.getAttribute('style') is ""
11 PASS element.getAttribute('StyLE') is ""
12 PASS attr.value = 'background-color: green'; attr.value is "background-color: gr een"
13 PASS element.getAttribute('stylE') is "background-color: green"
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17
18
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html ('k') | Source/core/dom/Attr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698