On Apr 21, 2006, at 8:10 AM, Matt Gough wrote:

Sometime since 418, the implementation of HTMLDocument::doctype was changed to:

DocumentType *HTMLDocument::doctype() const
{
// According to a comment in dom_doc.cpp, doctype is null for HTML documents.
    return 0;
}


Firstly, where is dom_doc.cpp? It doesn't seem a part of WebKit/Core.

It's been renamed to Document.cpp. I think this comment is actually wrong. I see nothing in the spec or other implementations that says doctype should be null for HTML documents. I'd love to see a patch to fix this.

Regards,
Maciej

_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to