[Webkit-unassigned] [Bug 9280] Quirksmode: Custom DTDs interpreted incorrectly

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 8 10:41:19 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9280





------- Comment #3 from ap at nypop.com  2006-07-08 10:41 PDT -------
Created an attachment (id=9274)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9274&action=view)
html test case

The original test case is served as text/html, but has a DTD based on XHTML 1.0
Transitional, which has caused some concerns about its correctness (see the
comments at quirksmode.org). The attached test case has a DTD based on HTML
4.01 Strict; it exposes the same behavior - the validator accepts it (and
parses as expected, which can be seen in its outline view), while major
browsers don't.

I am not sure whether this document really is valid HTML - its DTD is not HTML
4.01 Strict, since it has an internal subset. HTML 4.01 explicitly lists the
three DTDs used in HTML documents, and this is not one of them.

I have found discussions of this issue from as early as 1995
<http://1997.webhistory.org/www.lists/www-html.1995q2/0379.html>, but nothing
authoritative enough to ignore the results of the W3C validator. Mozilla
documentation seems to imply that they do handle internal subsets in HTML
<http://developer.mozilla.org/en/docs/Mozilla's_DOCTYPE_sniffing>, but I'm not
seeing this.


-- 
Configure bugmail: http://bugzilla.opendarwin.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