[csswg-drafts] [css-box-4] Switch margin-trim to boolean indicating sides rather than types of boxes to trim (#6643)

mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-box-4] Switch margin-trim to boolean indicating sides rather than types of boxes to trim ==
The current syntax of margin-trim is:

```
margin-trim: none | all | in-flow;
```

Assuming that floats and in-flow content don't need distinct trimming values (see https://github.com/w3c/csswg-drafts/issues/3256#issuecomment-923265086), and that authors probably want to be able to control which sides are trimmed (with block-axis and block-start being likely, and sometimes all sides), suggest to change the syntax to:

```
margin-trim: none | block | inline | [ inline-start || inline-end || block-start || block-end ];
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6643 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 20 September 2021 20:27:53 UTC