Units on values for matrix() [css3-2d-transforms][css3-3d-transforms]

http://dev.w3.org/csswg/css3-2d-transforms/#transform-functions says
the syntax of matrix() is:
  #  matrix(<number>, <number>, <number>, <number>, <number>,
  #  <number>)  
but it seems like it ought to say:
  #   matrix(<number>, <number>, <number>, <number>,
  #   <translation-value>, <translation-value>)
since the last two entries in the matrix have units of length.  This
is what is implemented in Mozilla.

The same applies to matrix() in
http://dev.w3.org/csswg/css3-3d-transforms/#transform-functions .

However, I'm not sure what should happen to matrix3d() in
http://dev.w3.org/csswg/css3-3d-transforms/#transform-functions ,
though, since three of the values in the matrix have units of
inverse length.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Saturday, 31 October 2009 18:42:43 UTC