blob: cc4c514d1961ae8b1acdcfec0b9d74ff80be9138 [file] [log] [blame]
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