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

I know there are multiple arguments against having a separate property that controls interpretations of shorthands for reasons like implementation difficulty or "action at a distance", but isn't that akin to how `box-sizing` works? I know there have been discussions about properties like `box-size` (https://github.com/w3c/csswg-drafts/issues/820), so wouldn't something like `box-mode: [ physical | relative ]` be what we'd all get behind if this was part of the initial proposal for box shorthands?

I'd imagine anyone who wants to use logical features would be "all in", not needing to set individual "modes" and wanting something like `box-mode` to cascade and set ALL possible shorthand box properties such as `border-width`,`padding`,`margin`,`border-radius`, `background-position`, etc...

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

Received on Wednesday, 11 April 2018 00:15:52 UTC