W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-values][css3-background][css3-transforms] <position> vs. transform-origin

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 20 Mar 2013 15:23:52 +0100
To: "www-style list" <www-style@w3.org>, "Simon Sapin" <simon.sapin@exyr.org>
Message-ID: <op.wt80x2udbunlto@oyvinds-desktop>
On Wed, 20 Mar 2013 13:59:52 +0100, Simon Sapin <simon.sapin@exyr.org>  

> css3-values defines the <position> type, and says that it is extended in  
> css3-background. Does anything other than background-position use  
> <position>?

The radial-gradient() function and the object-position property, at least.

> The syntax for transform-origin and perspective-origin seem to be the  
> same as CSS 2.1’s <position> (I haven’t checked in details) but do not  
> call it <position>. Does that mean that they are not extended if  
> css3-background is supported?

I believe so. The transform-origin value type is different from that of  
background-position in that a third component value represents a position  
on the Z-axis rather than an offset to a preceding percentage/keyword.  
(<http://lists.w3.org/Archives/Public/www-style/2012Mar/0195.html> has a  
resolution concerning this.)

That difference doesn't apply to perspective-origin, though, so that does  
seem to be an issue. Has been reported earlier here:  

Øyvind Stenhaug
Opera Software ASA
Received on Wednesday, 20 March 2013 14:24:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:27 UTC