Re: [csswg-drafts] [css-align] `justify-items` and anonymous block boxes (#11461)

The big difference is that grid and flex formatting contexts create an anonymous box around each text run. Block formatting contexts only create an anonymous box when there is a mix of inline-level and block-level contents.

So saying that anonymous boxes can always be aligned is still not be enough for `justify-items` to have any effect here, since no anonymous block box is created:

```html
<div style="width: 200px; justify-items: right; border: solid">foo</div>
```


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


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

Received on Tuesday, 29 April 2025 20:23:23 UTC