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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html

Issue 1747403002: Make Document.createAttribute lowercase the name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
index db9b7167be160ea525c0542c69546d37fb57618a..996ff3bb51e26a9180e4d07bca6106c9ed64c01c 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
@@ -11,9 +11,9 @@ description("Updating value of replaced attribute node");
var element = document.getElementById("test");
var attr = document.createAttribute("STYLE");
// This aligns with Trident rather than Gecko.
-shouldBeEqualToString("replaced = element.setAttributeNode(attr); replaced.name", "STYLE");
+shouldBeEqualToString("replaced = element.setAttributeNode(attr); replaced.name", "style");
shouldBeEqualToString("replaced.value", "background-color: red");
-shouldBeEqualToString("attr.name", "STYLE");
+shouldBeEqualToString("attr.name", "style");
shouldBeEqualToString("attr.value", "");
shouldBeEqualToString("element.getAttribute('style')", "");
shouldBeEqualToString("element.getAttribute('StyLE')", "");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698