W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2006

[html401] generic attributes (conflict with DOM)

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 23 Jan 2006 17:27:56 +0100
To: "www-html-editor@w3.org" <www-html-editor@w3.org>
Message-ID: <op.s3uaoulk64w2qv@id-c0020.oslo.opera.com>

states that the <html> element only allows "lang", "dir" and "version" as  
attributes. This conflicts with the definition of HTMLHtmlElement  
Note that this inherits from HTMLElement  
which defines an id, title, lang, dir and className DOM Attribute. Given  
that all elements inherit from HTMLElement this argument doesn't solely  
apply to the <html> element.

Implementations also support these attributes on all elements. I suggest  
therefore that HTML 4.01 is updated to allow "id", "title", "lang", "dir"  
and "class" as content attributes on _all_ elements.

Anne van Kesteren
Received on Monday, 23 January 2006 16:28:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:54 UTC