Re: [csswg-drafts] [css-logical] Syntax for `margin`-like shorthands

I agree with the current proposal, a keyword in front of the values. I personally like `relative` better than `logical`, because I don't think this spec really has anything to do with "[Logic](https://en.wikipedia.org/wiki/Logic#Mathematical_logic)" per se… (the study of truth and argument forms).

A couple of points:

1. the `!relative` keyword isn't already part of the standard CSS syntax and doesn't (and shouldn't) apply to all properties like the `!important` keyword does.
2. adding a new property like `margin-relative` would have to set (or reset) its [sub-properties](https://drafts.csswg.org/css-cascade-4/#longhand), but sub-property names are usually extensions of the shorthand. There are exceptions, though, in the case of `grid-gap` setting `grid-row-gap` and `grid-column-gap`—property names that still make me mad!

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

Received on Sunday, 23 April 2017 22:30:02 UTC