Re: [csswg-drafts] [css-grid][css-sizing] Aspect Ratio

> This is a later example from above:
> 
> @element #foo {
>   #foo {
>     height: 100ew;
>   }
> }
>
>> This is a unit that should be usable anywhere like the vw unit, not just on grid items.
> 
> Yes, sure!
> 
> Perhaps you want to open a new ticket for the ew unit? (there's isn't one yet)

Why open a new issue? This issue is about adding a way to define an aspect ratio. And the `ew` unit is one possible solution for it, so it belongs in here.

What *should* be discussed separately is the \@element rule defining the element things like the `ew` unit relate to.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-415394749 using your GitHub account

Received on Thursday, 23 August 2018 12:20:29 UTC