[webkit-dev] [DOMHTMLDocument doctype] always returning nil.
mjs at apple.com
Fri Apr 21 12:10:34 PDT 2006
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
More information about the webkit-dev