Re: [csswg-drafts] [css-overflow-3] 'overflow' 2-value syntax is in wrong order

> inset is added in CSS Logical and corresponds to physical longhands.

Yes, because it needed to be consistent with the rest of the margin/padding/border set.
`overflow` needs to be consistent with `scroll-snap-align`, more than anything.

> Shorthands only correspond to physical or logical longhands, not both.

Shorthands correspond to both. We're still working out the exact mechanism, but they do correspond to both.

> For example, element.style.margin will be empty string if you set logical margin longhands but not the physical ones. Or if you first set the physical ones and then you override them with logical ones, then element.style.margin will serialize the physical ones even if they are not being used. And if you set physical ones but not logical ones, element.style.marginBlock will be empty string.

Once we have a syntax for representing a logical `margin` declaration, it should return a value. (It's currently an open issue.)

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

Received on Wednesday, 29 August 2018 16:29:04 UTC