[Webkit-unassigned] [Bug 126605] DOM serialization: < and > should not be quoted in HTML attribute values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 8 10:16:51 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=126605





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2014-01-08 10:14:34 PST ---
(From update of attachment 220575)
View in context: https://bugs.webkit.org/attachment.cgi?id=220575&action=review

> Source/WebCore/ChangeLog:10
> +        * editing/MarkupAccumulator.h: EntityMaskInHTMLAttributeValue matches DOM spec.

Is this actually the only place where XMLSerializer does not match the "specification" for HTML documents? I thought it didn't care whether it's HTML or XML, unlike in Firefox.

> LayoutTests/fast/dom/dom-parse-serialize.html:43
> +    '<?xml version="1.0"?>\n<!DOCTYPE doc [\n<!ATTLIST d id ID #IMPLIED>\n]>\n<doc>\n  <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>\n  <d id="id3">Three</d>\n<f id="&amp;&lt;&gt;>">Four&amp;&lt;&gt;</f><empty/><empty></empty></doc>\n';

It's confusing that this change for how HTML is serialized includes a change to an XML test.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list