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,
>which
>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
>for.
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.
---
Blaine  
Received on Monday, 21 August 2000 12:35:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT