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;

Received on Thursday, 16 January 2003 06:11:45 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:48 UTC