W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2013

Re: [whatwg] Why are we merging Document and HTMLDocument again?

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 5 Apr 2013 11:16:21 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <8A5F4ED0-CD83-4CE9-BAA1-CC9C127573A5@adobe.com>
Cc: whatwg <whatwg@whatwg.org>, Boris Zbarsky <bzbarsky@mit.edu>, Ian Hickson <ian@hixie.ch>

On Mar 5, 2013, at 1:42 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Tue, Mar 5, 2013 at 12:42 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> On 3/5/13 3:30 PM, Ian Hickson wrote:
>>> I'd be fine with having a Document descendant that is used for Documents
>>> that have global scopes / browsing contexts / the works, and one that is
>>> used for Documents that don't (e.g. createDocument(), XHR); would that
>>> address this issue?
>> It's one way to address it, yes...
> A lot of the stuff that's moving into Document due to this merge is
> desirable for the SVGWG as well - we'd like to try and eliminate the
> SVGDocument interface if possible, or if not, at least reduce it to
> its bare minimum and rely just on Document for most things.

We can not eliminate SVGDocument until you want to have SVG specific attributes on Document ;). This was  not the discussion on the SVG WG. But we do want to share all methods with HTMLDocument where is makes sense, which are most of them. HTMLDocument, as noted by Boris, have specific methods as well that we do not necessarily want in a general scoped Document object.


> ~TJ
Received on Friday, 5 April 2013 18:17:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:57 UTC