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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 5 Mar 2013 20:30:25 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Message-ID: <Pine.LNX.4.64.1303052029350.15713@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@whatwg.org>
On Tue, 5 Mar 2013, Boris Zbarsky wrote:
> On 3/5/13 11:59 AM, Anne van Kesteren wrote:
> > On Tue, Mar 5, 2013 at 4:50 PM, Boris Zbarsky <bzbarsky@mit.edu> 
> > wrote:
> > > I don't care about the methods.  Putting all of those on Document is 
> > > fine by me, I think.
> > > 
> > > I care about the named getter being forced onto all documents.
> > 
> > Okay, so that is slightly different from how this thread started out.
> 
> I don't think it is.  I don't want to merge the prototype objects for 
> Document and HTMLDocument, because I don't want to stick a named getter 
> on every document.
> 
> What happens with individual methods is a separate story.

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?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 5 March 2013 20:30:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 March 2013 20:30:52 GMT