W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

What does CSSStyleDeclaration::removeProperty() do exactly?

From: Kang Jeong-Hee <Keizi@mail.co.kr>
Date: Thu, 19 Jun 2003 14:31:02 +0900
To: www-dom@w3.org
Cc: dodji@seketeli.org
Message-ID: <20030619053102.GA28049@localhost.localdomain>

W3C DOM CSS describe that it returns the value of the property
if it has been explicitly set for this declaration block.
And returns the empty string if the property has not been set
or the property name does not correspond to a known CSS property.
at http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration

I don't understand what this means exactly by 'known property'.

Does it mean that ::removeProperty() don't return the value
on removing property of unknown name, even if the property
have value explicitly?

Or, something undefined happen on removing unknown property?

Thanks in advance,
Kang Jeong-Hee.
Received on Thursday, 19 June 2003 01:28:19 UTC

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