- From: Daniel Glazman <glazman@netscape.com>
- Date: Thu, 16 Jan 2003 12:10:58 +0100
- 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 UTC