Re: [css-transforms] Why doesn't perspective-origin just use <position>?

On Thu, Aug 20, 2015 at 1:51 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Thu, Aug 20, 2015 at 11:34 AM, Simon Fraser <smfr@me.com> wrote:
>> I updated the draft to use <position> for the perspective-origin grammar:
>>
>> https://drafts.csswg.org/css-transforms/#perspective-origin-property
>>
>> Please check to see if it looks OK.
>>
>> This does mean that UAs might need to update their parsing to support the
>> “left 20px top 20px” delta-from-edges form, butI think that’s OK.
>
> You can drop all the individual value declarations now.  Just update
> the second paragraph after the propdef table to talk about <position>
> directly, instead of just "the values".

fantasai just pointed out that, to use <position> properly, you need
to define the object area (the perspective-origin point) and the
positioning area (the reference box).

~TJ

Received on Thursday, 20 August 2015 20:54:32 UTC