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

Unified Diff: LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js

Issue 184273003: Allow overriding the serialization rules in MarkupAccumulator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased onto split out CLs. Created 6 years, 9 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
Index: LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js
diff --git a/LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js b/LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js
index bc52298fe8990b1e89ff8da8ae011a3561518775..06f6cf7451b68c5c8db8585ba5b078e9c59f5769 100644
--- a/LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js
+++ b/LayoutTests/fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js
@@ -135,7 +135,7 @@ var attrib = document.createAttribute("myAttrib");
attrib.nodeValue = "XXX";
node.setAttributeNode(attrib);
-shouldBe("(new XMLSerializer).serializeToString(node)", '"<div myAttrib=\\"XXX\\"></div>"');
+shouldBe("(new XMLSerializer).serializeToString(node)", '"<div xmlns=\\"http://www.w3.org/1999/xhtml\\" myAttrib=\\"XXX\\"></div>"');
shouldBe("node.getAttributeNode('myAttrib').name", '"myAttrib"');
shouldBe("node.getAttributeNode('myattrib').name", '"myAttrib"');
shouldBe("attrib.name", '"myAttrib"');

Powered by Google App Engine
This is Rietveld 408576698