W3C home > Mailing lists > Public > www-svg@w3.org > March 2013

Re: DOM 4 request

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Mar 2013 15:15:11 -0400
Message-ID: <513E2D3F.7070404@mit.edu>
To: www-svg@w3.org
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 

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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:41 UTC