Skip to content

fix: prefer first non-zero rect for interactability checks#1965

Open
juliandescottes wants to merge 1 commit into
w3c:masterfrom
juliandescottes:issue1961
Open

fix: prefer first non-zero rect for interactability checks#1965
juliandescottes wants to merge 1 commit into
w3c:masterfrom
juliandescottes:issue1961

Conversation

@juliandescottes

@juliandescottes juliandescottes commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #1961

This matches the implementation as updated in Firefox. WPT tests already cover potential edge cases related to this (web-platform-tests/wpt#60371)


This change is Reviewable


Preview | Diff

@juliandescottes

juliandescottes commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

I don't understand the build failure here, it seems to complain about node but this is unrelated to my change?

Edit: No idea why this only started failing now, but let's see: #1966

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.

"in-view center point" is broken when an inline element contains block-level elements

1 participant