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

A third option would be to have some other not-currently-used single punctuation character somewhere in the declaration, to indicate flow-relative mapping, e.g.

```
margin: 1em 2em 3em 4em; /* physical mapping */
~margin: 1em 2em 3em 4em; /* logical mapping, option A */
margin~: 1em 2em 3em 4em; /* logical mapping, option B */
margin: ~ 1em 2em 3em 4em; /* logical mapping, option C */
```

This is convenient and safe for out-of-context quoting, at the cost of being more obscure.

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

Received on Friday, 17 August 2018 19:33:36 UTC