[Webkit-unassigned] [Bug 20696] WebKit fails to recognize XHTML <a id="blah" /> as a closed tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 13 09:02:26 PDT 2008


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org




------- Comment #6 from ap at webkit.org  2008-09-13 09:02 PDT -------
Both Safari and Firefox treat this document as HTML. There are many reasons for
HTTP headers to prevail over XML declaration, so no major browser treats
content transferred as text/html as XHMTL.

This document is rendered in Firefox as "expected" because Firefox follows
different rules for processing invalid markup. WebKit matches HTML5, which you
can confirm yourself by comparing output of
<http://software.hixie.ch/utilities/js/live-dom-viewer/> and
<http://james.html5.org/parsetree.html> in both browsers.

You can also see that Firefox will render the document the same if you remove
the ending slash, as it is ignored anyway.


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



More information about the webkit-unassigned mailing list