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

Re: [css3-3d-transforms] tranform-origin and % in Z

From: Simon Fraser <smfr@me.com>
Date: Fri, 29 Oct 2010 17:33:53 -0700
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <3DFF763E-C7E8-43F6-9105-4FD98273353E@me.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
On Oct 29, 2010, at 4:04 PM, Sylvain Galineau wrote:

> When setting the transform-origin to a coordinate using 3 percentage values e.g. '20% 10% 30%', 
> Safari currently drops the third value from the computed style (see testcase).
> 
> Bug ?

No. Percentages are not accepted for the z component of the transform-origin (because it's not meaningful to describe the z offset as a percentage of anything).

This is evident in the grammar <http://www.w3.org/TR/2009/WD-css3-3d-transforms-20090320/#transform-origin-property>.

Simon
Received on Saturday, 30 October 2010 00:35:15 GMT

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