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

I like the idea of #1279: `margin-block` is shorthand for `margin-block-start` + `margin-block-end`, and `margin-inline` is shorthand for `margin-inline-start` + `margin-inline-end`.
These will be often more useful than single `margin` flow-relative shorthand, and I am ok with adding 'relative' keyword when the `margin` shorthand is needed. Or how about the following syntax:

```
  margin: [ block <'margin-block'> || inline <'margin-inline'> ]
```

e.g.
```
  margin: block 1em 3em inline 2em 4em;
```

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

Received on Friday, 28 April 2017 05:46:46 UTC