[webkit-dev] [DOMHTMLDocument doctype] always returning nil.

Maciej Stachowiak mjs at apple.com
Fri Apr 21 16:14:27 PDT 2006


On Apr 21, 2006, at 3:41 PM, Matt Gough wrote:

>
> On 21 Apr 2006, at 20:10, Maciej Stachowiak wrote:
>
>> 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.
>
> Where presumably that patch would just involve removing  
> HTMLDocument::doctype and letting the default implementation do  
> what its stuff.

Yep, that plus some test cases that verify we match other browsers  
both when there is a doctype declaration and there isn't. Should be a  
very easy fix. Please at least file the bug.

Thanks,
Maciej




More information about the webkit-dev mailing list