[whatwg] Why are we merging Document and HTMLDocument again?
cam at mcc.id.au
Mon May 13 20:03:36 PDT 2013
Dirk Schulze wrote:
> 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.
We did discuss and agree to this last year:
and Erik made the change shortly afterwards.
The only "interesting" attribute there is rootElement. And that isn't
particularly interesting, though people do use it, so we can't get rid
I don't think there's any real downside to having rootElement exist on
all Document objects.
More information about the whatwg