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

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 UTC