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

IMO, option 2 feels like a hack. `justify-items` sets the default `justify-self` for items, but under the current suggestion, it ends up applying to an injected anonymous block container that wraps all inline content in an inline formatting context. This effectively aligns the group as a whole, rather than the individual elements. I can easily see authors getting confused when they try to set `justify-self` on the inline elements themselves to override the default as they would expect in other formatting contexts only to find it has no effect. It's a very confusing API, to be honest.

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


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

Received on Wednesday, 30 April 2025 23:21:56 UTC