W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: How do you access the DOM CSS interfaces?

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 06 Nov 2001 15:54:41 +0100
Message-ID: <3BE7F9B1.229454AB@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Jesse McCarthy <mccarthy36@earthlink.net>, www-dom@w3.org
> section 1.6.1 of the DOM HTML states:
> "HTML attributes are exposed as properties on the element object...This 
> usage is deprecated ...We recommend the use of generic methods on the core 
> Element interface for setting, getting and removing attributes."  Even if that 
> usage wasn't deprecated, I would still want to use the generic methods from DOM 
> Core because DOM HTML is not stable. 

Currently, the style attribute of HTML is not exposed in the DOM HTML so this
does apply to the style property.

Note: The style attribute of an HTML element is accessible through the
ElementCSSInlineStyle interface which is defined in the CSS module
[DOM Level 2 Style Sheets and CSS].
Interface HTMLElement

Received on Tuesday, 6 November 2001 09:54:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC