Re: DOM 4 request

On 3/11/13 10:14 AM, Dirk Schulze wrote:
> WebKit does not differ between Document from DOM and partial Document from HTML.

Neither does Gecko.

However note that Gecko has an HTMLDocument interface, which some things 
that HTML5 puts on Document actually live on at the moment (more along 
the lines of how DOM Core vs DOM HTML used to work).

> Looking at the Firefox source code, it does not look like this is done at Mozilla.

SVGDocument in Gecko directly inherits from Document, if that's what you 
mean.

Note that in Gecko "activeElement" is on Document, not on HTMLDocument. 
  And we're generally planning to move more things from HTMLDocument to 
Document; we just haven't had a chance to do that yet.

> FF seems to have an "XMLDocument" which does not have HTML specific methods and attributes.

XMLDocument has nothing to do with SVGDocument in Gecko.  XMLDocument is 
what you get from things like XHR responseXML.

-Boris

Received on Monday, 11 March 2013 19:15:40 UTC