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

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Sat, 30 Oct 2010 01:04:42 +0000
To: Simon Fraser <smfr@me.com>
CC: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2879C906@TK5EX14MBXC111.redmond.corp.microsoft.com>
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>.

Received on Saturday, 30 October 2010 01:05:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC