[Webkit-unassigned] [Bug 30923] When assigning to innerHTML of an element in an XHTML document, HTML entities are not recognized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 29 18:01:51 PDT 2009


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





--- Comment #9 from Jim Driscoll <maus at io.com>  2009-10-29 18:01:51 PDT ---
Yes, Mark's testcase completely reflects what I'm seeing.

And it turns out that I was also utterly mistaken in my earlier comment - I am,
in fact, serving the file as application/xhtml+xml - the difference was in the
weightings that you give to that content type (you prefer it over text/html)
vs. what Firefox does (they give equal weighting, which my server tips to
text/html).

I apologize for my mistake.  Very embarrassing, for my first filed Webkit bug.

As you point out, you're bug-compatible with Firefox - you both fail if a user
passes an XHTML character entity to an innerHTML of an XHTML document served as
xhtml - even an entity that's perfectly valid per the DTD.  Opera, however,
does not fail - it handles assigning entities to XHTML innerHTML just fine.

So, I'd argue that this is a valid bug, though you're in good company, and I
expect to be filing a similar bug against Mozilla shortly.

-- 
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