- From: gitspeaks via GitHub <noreply@w3.org>
- Date: Wed, 04 Jun 2025 12:55:47 +0000
- To: public-css-archive@w3.org
OK, I understand what's going on now, but it's definitely not straightforward. Including a simple example, like the SVG one above, would really help clarify the motivation behind this clause in the specification. Also, the interplay between HTML and CSS isn’t immediately obvious, especially since "replaced" / "non-replaced" / "inline elements" are primarily part of CSS terminology. I agree that, in my test case, the `<img>` element should be considered "inline" due to the HTML rule: >If the src attribute is not set and either the alt attribute is set to the empty string or the alt attribute is not set at all, the element represents nothing. >Otherwise, *the element represents the text given by the alt attribute.* However, this is a non-obvious implication. It would be helpful to explicitly point out such edge cases when discussing replaced element sizing, for the sake of clarity. -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12254#issuecomment-2939938319 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 June 2025 12:55:48 UTC