W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: Expected behavior of CSSRule's setCssText.

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 18 Sep 2000 20:56:09 -0400
Message-ID: <39C6B9A9.9C743C6E@w3.org>
To: Blaine Brodie <bbrodie@savagesoftware.com>
CC: www-dom@w3.org
Blaine Brodie wrote:
> What is expected to occur when there
> is an outstanding reference to a property value and then the property is
> removed via the rule's setCssText method and then that property is added
> back in via another call to the setCssText method.

All CSS objects in the DOM are "live", like NodeList or Attr. So,
if you get a reference to a CSSValue object, it will be updated
even if you do the changes throught the CSSStyleDeclaration interface.

Received on Monday, 18 September 2000 20:59:01 UTC

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