Re: getComputedStyle results

Yes, that section starts with (interface description)
> This interface represents a CSS view. The getComputedStyle method  
> provides a read only access to the computed values of an element.
Then in the Resturn section is says.
> CSSStyleDeclaration The computed style. The CSSStyleDeclaration is  
> read-only and contains only absolute values.

So what does this mean computed values which area absolute?



Na , Kartikaya Gupta <kagupta@rim.com> escreveu:

>> > The getComputedStyle return value is already well defined to be the
>> > "computed" values as described in
>> > http://www.w3.org/TR/CSS21/cascade.html#computed-value.
>>
>> Yes, computed values are well defined, but DOM 2 StyleSheets defines
>> getComputedStyle to return absolute (or used) values, not computed  
>> values.
>> That's the issue.
>
> Not sure where you're getting this from.  
> http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS definitely  
> refers to computed values as defined in CSS2. Am I missing something?
>
> kats
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential  
> information, privileged material (including material protected by the  
> solicitor-client or other applicable privileges), or constitute  
> non-public information. Any use of this information by anyone other than  
> the intended recipient is prohibited. If you have received this  
> transmission in error, please immediately reply to the sender and delete  
> this information from your system. Use, dissemination, distribution, or  
> reproduction of this transmission by unintended recipients is not  
> authorized and may be unlawful.

Received on Monday, 31 March 2008 06:20:11 UTC