W3C home > Mailing lists > Public > www-style@w3.org > October 2009

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

From: Dean Jackson <dino@apple.com>
Date: Sat, 31 Oct 2009 11:22:42 +1100
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <2075132B-935C-4F2B-9E7C-5350733B448E@apple.com>
To: Øyvind Stenhaug <oyvinds@opera.com>

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC