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

Re: CSSValueList and cssText

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Mon, 21 Aug 2000 09:35:29 -0700
Message-id: <fc.0085846d0000ecdb3b9aca0045aa7f86.ece8@savagesoftware.com>
To: www-dom@w3.org, garret@globalmentor.com
garret@globalmentor.com writes:
>1. A CSSValueList is a CSSValue. CSSValue must return a cssText value,
>is how the value should be represented in the document. Therefore,
>CSSValueList should return a cssText value.
>2. A CSSValueList has no knowledge of which property name its values are
This is where you have been mislead.  The specification states:
"The CSSValue interface represents a simple or a complex value. A 
CSSValue object only occurs in a context of a CSS property."  If the 
CSSValue had no knowledge of its property then there would be a problem
with both the retreival of cssText and the parsing of the text during a
set.  Hope this helps.
Received on Monday, 21 August 2000 12:35:42 UTC

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