[csswg-drafts] [css-box-4] margin-trim auto-margins needs more clarification wrt. fallback alignment. (#11397)

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

== [css-box-4] margin-trim auto-margins needs more clarification wrt. fallback alignment. ==
Consider: 

```
<!DOCTYPE html>
<div style="display: flex; margin-trim: block; align-items: end; width: 100px; border: solid 2px; height: 100px;">
  <div style="background: lime; margin: auto;">hi</div>
  <div style="background: lime; margin: auto;">hi</div>
</div>
```

Presuming that `auto` margins are trimmed, should the alignment of the items be the start or the end?

https://drafts.csswg.org/css-box-4/#margin-trim

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


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

Received on Thursday, 19 December 2024 19:04:59 UTC