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

Tab Atkins Jr. jackalmage at gmail.com
Tue Mar 5 13:42:09 PST 2013


On Tue, Mar 5, 2013 at 12:42 PM, Boris Zbarsky <bzbarsky at 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.

~TJ



More information about the whatwg mailing list