Re: [csswg-drafts] [css-logical] Flow-relative syntax for `margin`-like shorthands

I agree strongly with @bradkemper’s <a href="https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-307393269">comment</a>: this needs to be generic enough that it doesn't get confused with property-specific value spaces, and it also needs to be convenient enough that authors using flow-relative syntaxes are not at a significant ergonomic disadvantage compared to authors using physical syntaxes.

Another option would be to have a longer per-declaration !keyword (for clarity) but also a higher-level syntax similar to `@namespace` (changing the default interpretation of an entire stylesheet) or `@media` (changing the default interpretation in a block). This would be the most convenient, at the cost of making it possibly confusing if someone is copy-pasting style rules out-of-context.

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

Received on Friday, 17 August 2018 19:28:14 UTC