Re: [whatwg/dom] Un-merge Document and HTMLDocument (#221)

@annevk Yes, I meant that HTMLDocument and XMLDocument would be proper interfaces for now, inheriting from Document. However, I would also prefer that some of the properties remain on HTMLDocument We should agree on which properties would remain on HTMLDocument but Blink and WebKit are close to being aligned on this.

My personal preference would be to keep these on HTMLDocument:
- open(), close(), write(), writeln(), all, clear(), captureEvents(), releaseEvents(), bgColor, fgColor, alinkColor, linkColor, vlinkColor;

And to answer your question, yes, I think it'd be good to have a constructor on XMLDocument and HTMLDocument.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/221#issuecomment-250238074

Received on Wednesday, 28 September 2016 17:30:16 UTC