W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: XHTML 2.0 considered harmful

From: Daniel Glazman <glazman@netscape.com>
Date: Thu, 16 Jan 2003 12:10:58 +0100
Message-ID: <3E269342.1090103@netscape.com>
To: www-html@w3.org

Jonas Jørgensen wrote:

> Why must the style property be removed if the style attribute is?

Excerpt of DOM Level 2:

2.2.3. Element with CSS inline style
Interface ElementCSSInlineStyle (introduced in DOM Level 2)
   Inline style information attached to elements is exposed through the style
   attribute. This represents the contents of the STYLE attribute for HTML
   elements (or elements in other schemas or DTDs which use the STYLE attribute
   in the same way). The expectation is that an instance of the
   ElementCSSInlineStyle interface can be obtained by using binding-specific
   casting methods on an instance of the Element interface when the element
   supports inline CSS style informations.

     IDL Definition
     // Introduced in DOM Level 2:
     interface ElementCSSInlineStyle {
       readonly attribute CSSStyleDeclaration style;
     };

</Daniel>
Received on Thursday, 16 January 2003 06:11:45 GMT

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