- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 May 2025 23:27:53 +0000
- To: public-css-archive@w3.org
Also, I don’t think whether the current Blink behavior is a bug is a matter of opinion but rather it’s a question of whether it conforms to the specification, which it does. While [`justify-items`](https://drafts.csswg.org/css-align/#justify-items-property) applies to any element, [`justify-self`](https://drafts.csswg.org/css-align/#justify-self-property) does not apply to inline elements. In fact, the specification text for `justify-items` is explicit: >This property specifies the default `justify-self` for all of the child boxes (including anonymous boxes) participating in this box’s formatting context. So it should come as no surprise that an anonymous block box in Blink derives its default value from `justify-items`, whereas anonymous inline boxes do not since `justify-self` doesn’t apply to them in the first place. Similarly, consider how the `height` property works, it applies to block elements but not to [inline non-replaced elements](https://www.w3.org/TR/CSS22/visudet.html#inline-non-replaced). Authors have come to understand and expect this behavior. So the current Blink behavior is not only consistent with the specification, but also aligned with how block-specific properties generally interact with inline non-replaced elements. -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11461#issuecomment-2845987954 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 May 2025 23:27:54 UTC