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

Side by Side 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, 11 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
OLDNEW
(Empty)
1 Test that XMLSerializer quotes the attribute characters specified in the W3C spe c.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS htmlElement.outerHTML is "<div quoteme=\"< > &amp; &quot; ' &nbsp;\"></div> "
7 PASS (new XMLSerializer()).serializeToString(xmlElement) is "<div xmlns=\"http:/ /www.w3.org/1999/xhtml\" quoteme=\"&lt; &gt; &amp; &quot; ' \xA0\"></div>"
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW
« 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