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

Re: [css3-3d-transforms] Handling non-invertible matrices

From: Dean Jackson <dino@apple.com>
Date: Thu, 9 Sep 2010 09:52:30 +1000
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-Id: <97C405D3-F417-4504-BE0E-5F4E48C99DAF@apple.com>
To: Sylvain Galineau <sylvaing@microsoft.com>

On 09/09/2010, at 9:21 AM, Sylvain Galineau wrote:

> CSS3 2D Transforms specifies the following [1] :
> 
> # In some cases, an animation might cause a transformation matrix to be singular or 
> # non-invertible. For example, an animation in which scale moves from 1 to -1. At the 
> # time when the matrix is in such a state, the transformed element is not rendered.
> 
> I assume the same applies to 3D Transforms ?

Yes.

> 
> What does 'the transformed element is not rendered' mean ? I assume it means the
> the result is equivalent to applying the identity transform but as written it could
> also be saying that the element is not rendered at all. My understanding is that SVG
> does the former and we'd want to do the same here.
> 
> [1] http://dev.w3.org/csswg/css3-2d-transforms/#animation

I don't think we would want to apply the identity transform. If so, the animation above would flash as scale hits 0. And in fact, every element with scale(0) would draw.

I don't think SVG suggests this behaviour, for the same reason. An element with scale(0) or skewX(90) should not appear (not render). It shouldn't render as if there was an identity transform.

Dean
Received on Wednesday, 8 September 2010 23:53:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT