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>

<http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#h-7.3>  
states that the <html> element only allows "lang", "dir" and "version" as  
attributes. This conflicts with the definition of HTMLHtmlElement  
<http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-33759296>.  
Note that this inherits from HTMLElement  
<http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-58190037>  
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
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 23 January 2006 16:28:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT