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

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

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 09 Sep 2009 18:56:29 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uzz1cfnvru61ud@oyvinds-desktop>
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.

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.

[1] http://lists.w3.org/Archives/Public/www-style/2003Oct/0347.html

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 9 September 2009 16:56:46 UTC

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