Skip to content

Conversation

@straker
Copy link
Contributor

@straker straker commented Jan 29, 2026

Closes: #4392

@straker straker requested a review from a team as a code owner January 29, 2026 22:23
@straker straker marked this pull request as draft January 29, 2026 23:52
@straker straker marked this pull request as ready for review February 2, 2026 23:19
WilcoFiers added a commit that referenced this pull request Feb 4, 2026
Copy link
Contributor

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you went off track with this fix. The real issue I think is much simpler, that we just need to be allow inline-block elements to be considered inline for the purpose of target-size (as that's the permissive approach for it) and for them to be blocks for link-in-text-block (as that's the permissive approach there).

#5009

While reviewing #5000 I found the approach wasn't working as I was
expecting. Playing around with examples I found a simpler way to do
this. IDK if this is everything we should do, but I think this gets us
close. I decided to put this in its own PR since this was too much code
to put into comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

target-size doesn't respect inline exception for display: inline-block elements

2 participants