Re: [css3-2d-transforms] DOM interfaces, especially CSSTransformValue

On 10/09/2009, at 2:56 AM, Øyvind Stenhaug wrote:

> 1)
> Section 7 of the CSS 2D Transforms draft specifies a number of DOM  
> interfaces, among them CSSTransformValue which inherits from  
> CSSValueList. However, according to an earlier message from the WG  
> [1], interfaces inheriting from and related to CSSValue are  
> "classified as obsolete", and "[i]mplementors are strongly urged not  
> to implement them". This would seem to apply to CSSTransformValue  
> and probably also CSSMatrix as written.

Yeah. Do you have a suggestion on how to fix this? What is the best  
alternative?

I'll note that the earlier message is from 2003, and says "We don't  
have a Working Draft yet" :)

> 2)
> It seems inconsistent/confusing that "getComputedStyle 
> ([...]).transform" would return a CSSValue, since it looks just like  
> the DOM attributes in CSS2Properties which are all of type DOMString  
> and equivalent to calling getPropertyValue.

What would you prefer?

Dean

Received on Saturday, 31 October 2009 00:23:25 UTC