Re: Expected behavior of CSSRule's setCssText.

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.

Philippe

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