W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: Implementing HTMLDocument on all Documents (detailed review of the DOM)

From: Simon Pieters <simonp@opera.com>
Date: Tue, 21 Aug 2007 14:20:55 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.txesk51widj3kv@hp-a0a83fcd39d2>

On Tue, 21 Aug 2007 12:27:31 +0200, Simon Pieters <simonp@opera.com> wrote:

> We'd rather have the members of HTMLDocument that are useful for all  
> types of documents to be moved to the Document interface. This would  
> probably be:
>
> [...]
>
> Furthermore, it might make sense to move the following members from  
> HTMLElement to the Element interface:
>
> [...]

Or possibly have side interfaces with those members that are optional to  
be conforming to DOM Core, but are required to be implemented on all  
Documents and Elements to be conforming to HTML5.

> However, if we don't implement all supported interfaces on all  
> Documents, the question instead becomes when do you implement a specific  
> interface? Firefox decides on the MIME type, Opera decides on the root  
> element's namespace, however I haven't yet checked how this works when  
> e.g. replacing the root element or when creating new documents with DOM  
> methods. This would need to be defined.

It seems that Opera doesn't change the interface of the Document object in  
response to changes to the DOM.

> [...]

-- 
Simon Pieters
Opera Software
Received on Tuesday, 21 August 2007 12:21:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:04 GMT