Re: getComputedStyle results

> 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.

That definition postdates the definition of getComputedStyle.  The "computed 
style" getComputedStyle references is the CSS2 one.  Since UAs currently on the 
market do not implement the CSS2 computed style (which is neither equivalent to 
the CSS2.1 computed style nor quite to the CSS2.1 used style, iirc), it's 
actually not that clear what getComputedStyle should be doing.

> Yes, computed values are well defined, but DOM 2 StyleSheets defines 
> getComputedStyle to return absolute (or used) values

The term "absolute value" only makes sense for lengths.  I don't believe DOM 2 
StyleSheets uses the term "used style" anywhere (which makes sense, since that 
term postdates the spec in question).

-Boris

Received on Monday, 31 March 2008 03:22:45 UTC