[whatwg] relationship between Document and HTMLDocument

On 8/9/11 11:18 AM, David Flanagan wrote:
> I assume that the use of an implements declaration rather than direct
> inheritance is done to create a clean boundary between the DOM spec and
> the HTML spec.

Or just to reflect Ian's belief that all documents should implement all 
document intefaces.

In particular, the current spec text (which indeed does not match either 
older DOM specs or current implementations) requires all Document 
objects to implement the HTMLDocument interface.  I don't believe that's 
the case in current UAs, fwiw...

-Boris

Received on Tuesday, 9 August 2011 08:53:06 UTC