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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 26 Mar 2013 09:13:14 -0700
To: Simon Sapin <simon.sapin@exyr.org>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <F7EB6107-5E30-4BFC-9EDA-82B3342D98D6@adobe.com>
Hi Simon,

On Mar 26, 2013, at 1:36 AM, Simon Sapin <simon.sapin@exyr.org> wrote:

> Le 25/03/2013 19:51, Dirk Schulze a écrit :
>>>> 
>>>> transform-origin however removed this restriction:
>>>> 
>>>>>> [ <percentage> | <length> | left | center | right ]
>>>>>> &&
>>>>>> [ <percentage> | <length> | top | center | bottom ]
>>>> 
>>>> 
>>>> Was there a reason to remove the restriction on one property but keep it
>>>> in others?
>> I assume that this was an mistake. Thanks for noting.
> 
> Hi Dirk,
> 
> I see that you fixed this: https://dvcs.w3.org/hg/csswg/rev/546a3f53d20e
> But the new grammar does not allow swapping the order of two keywords, 
> which background-position allows.

That is true. I fixed it :) Thanks!

Greetings,
Dirk

> 
> Based on how CSS 2.1 expresses it, the full grammar should be:
> 
> 
>   [ left | center | right | top | bottom | <percentage> | <length> ]
> |
>   [
>     [ left | center | right | <percentage> | <length> ]
>     [ top | center | bottom | <percentage> | <length> ]
>   |
>     [ left | center | right ] || [ top | center | bottom ]
>   ]
>   <length>?
> 
> -- 
> Simon Sapin
Received on Tuesday, 26 March 2013 16:14:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT