W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2008

Re: getComputedStyle results

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Mon, 31 Mar 2008 07:19:33 +0100
To: "Kartikaya Gupta" <kagupta@rim.com>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.t8vaivsgjz3wb9@foobar.wag54gs>

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

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