W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] relationship between Document and HTMLDocument

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 09 Aug 2011 11:53:06 -0400
Message-ID: <4E4157E2.1060802@mit.edu>
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...

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC