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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt
diff --git a/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt b/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cde05ee735c86e9335c49d5ada39e7ad847367dc
--- /dev/null
+++ b/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt
@@ -0,0 +1,18 @@
+Updating value of replaced attribute node
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS replaced = element.setAttributeNode(attr); replaced.name is "STYLE"
+PASS replaced.value is "background-color: red"
+PASS attr.name is "STYLE"
+PASS attr.value is ""
+PASS element.getAttribute('style') is ""
+PASS element.getAttribute('StyLE') is ""
+PASS attr.value = 'background-color: green'; attr.value is "background-color: green"
+PASS element.getAttribute('stylE') is "background-color: green"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
« 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