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

>But the authors could just wrap the inline contents with a `<div>` rather than relying on an anonymous block, then the element-generated block would obey the `justify-items` of the parent.

That's beside the point since we're no longer dealing with anonymous boxes in that case. I think keeping the `justify-items` behavior consistent for both anonymous and non-anonymous boxes makes it simpler to reason about. That said, I recommend adding a note in the spec for `justify-items` as a helpful reminder of the existence of 'anonymous boxes' and their conforming behavior, aligning with other boxes.

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


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

Received on Thursday, 9 January 2025 11:36:20 UTC