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

Unified Diff: LayoutTests/fast/dom/XMLSerializer-attribute-entities-expected.txt

Issue 117103003: DOM serialization: fix quoting of < and > in HMTL attribute values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: < and > are un-quoted in HTML, quoted in XML. Created 6 years, 12 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/XMLSerializer-attribute-entities-expected.txt
diff --git a/LayoutTests/fast/dom/XMLSerializer-attribute-entities-expected.txt b/LayoutTests/fast/dom/XMLSerializer-attribute-entities-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc4c514d1961ae8b1acdcfec0b9d74ff80be9138
--- /dev/null
+++ b/LayoutTests/fast/dom/XMLSerializer-attribute-entities-expected.txt
@@ -0,0 +1,11 @@
+Test that XMLSerializer quotes the attribute characters specified in the W3C spec.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS htmlElement.outerHTML is "<div quoteme=\"< > &amp; &quot; ' &nbsp;\"></div>"
+PASS (new XMLSerializer()).serializeToString(xmlElement) is "<div xmlns=\"http://www.w3.org/1999/xhtml\" quoteme=\"&lt; &gt; &amp; &quot; ' \xA0\"></div>"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/XMLSerializer-attribute-entities.html ('k') | LayoutTests/fast/dom/dom-parse-serialize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698