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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 29 Oct 2010 22:06:59 -0400
Message-ID: <4CCB7DC3.6030309@mit.edu>
To: Simon Fraser <smfr@me.com>
CC: "www-style@w3.org list" <www-style@w3.org>
On 10/29/10 8:33 PM, Simon Fraser wrote:
> 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>.

Shouldn't that cause the entire declaration to be dropped, instead of 
part of it taking effect and part being ignored?

-Boris
Received on Saturday, 30 October 2010 02:07:33 GMT

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