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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 21 Aug 2007 18:36:16 +0200
To: "Charles McCathieNevile" <chaals@opera.com>
Cc: "Web API public" <public-webapi@w3.org>
Message-ID: <mn3mc35c1rrd9iltmuktv6ccbvmcjhqjoe@hive.bjoern.hoehrmann.de>

* Charles McCathieNevile wrote:
>This is from the HTML group, but my first impression is that Simon is  
>right. Unfortunately my other first impression is that nobody is currently  
>really working on the relevant specs - is that true?

As far as the Web API Working Group is concerned, Simon would be asking
for new specifications to be produced, and in that sense you are right.

As for the specific issue:

>We're not happy with implementing the HTMLDocument interface on all
>Document objects. It will affect all other types of documents and the
>naming of their members in the future, and any additions to HTMLDocument
>in the future becomes risky because it might break non-HTML documents.

The same is true for any interface that Document objects implement,
like those in the DOM Events or DOM Traversal specifications. While
I could readily agree that implementing HTMLDocument on all Document
objects might not be a good idea, I have a hard time seeing how:

>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:

would be any kind of improvement. You would have to explain why they
need to be on Document rather than on a DocumentWithUsefulStuff inter-
face. Clearly adding them to Document would make implementers who do
not and do not plan to implement HTMLDocument anywhere at all unhappy
(important reasons being that they are poorly designed and depend on
not particularily common features like interactivity).
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 21 August 2007 16:36:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:09:57 UTC