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

I might be missing something, but I think the use of `justify-items` or `justify-self` in an inline formatting context isn't meaningful. Inline-level content is laid out using `text-align` for horizontal alignment and `vertical-align` for vertical alignment - these are part of a different alignment model than what's used in grid or BFC.

According to [6.1. Inline-Axis (or Main-Axis) Self-Alignment: the justify-self property](https://drafts.csswg.org/css-align/#justify-self-property), `justify-self` applies to block-level boxes, absolutely positioned boxes, and grid items. Since no anonymous block-level box is created in this case, it's expected that these properties would have no effect for (anonymous) inline boxes within an inline formatting context.

-- 
GitHub Notification of comment by gitspeaks
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11461#issuecomment-2840271228 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 21:17:26 UTC