W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2013

[css-transforms] computed style of 'transform' property

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 16 Dec 2013 09:20:50 +0000
To: www-style <www-style@w3.org>, public-fx <public-fx@w3.org>
Message-ID: <A020C5AD-51B0-4288-8D8A-9D8322213D5B@adobe.com>
Hi,

We discussed and decided in the past that the "computed style” of the ‘transform’ property must return the specified value [1]. This has been in the spec since the first WD.

Yet, no browser ever implemented this part of the spec. For what it’s worth, all browsers seems to return a matrix()/matrix3d() string.

Even if we had the agreement from browser implementers in the past to change the behavior, no browser ever did and users are starting to rely on a matrix as returned value.

I suggest we specify the behavior of browsers and do not return the specified value. Implementations must return a string “matrix()” with 6 numerical values on a pure 2D matrix[2] (all transform functions multiplied as in [3]) and a string "matrix3d()” with 16 numerical values otherwise.

Greetings,
Dirk

[1] http://dev.w3.org/csswg/css-transforms/#transform-property
[2] http://dev.w3.org/csswg/css-transforms/#2d-matrix
[3] http://dev.w3.org/csswg/css-transforms/#mathematical-description
Received on Monday, 16 December 2013 09:21:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:48 UTC