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 18:11:47 -0700
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <1CEF175F-EFC7-456C-99E1-711E76023975@me.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
That sounds like a bug.
<https://bugs.webkit.org/show_bug.cgi?id=48704>

Simon

On Oct 29, 2010, at 6:04 PM, Sylvain Galineau wrote:

> Thatís what I initially thought but in that case Iíd expect you to treat the value as invalid and ignore it. Instead you turn it into a 2D origin. 
>  
> From: Simon Fraser [mailto:smfr@me.com] 
> Sent: Friday, October 29, 2010 5:34 PM
> To: Sylvain Galineau
> Cc: www-style@w3.org list
> Subject: Re: [css3-3d-transforms] tranform-origin and % in Z
>  
> 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 01:12:50 GMT

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