Re: [csswg-drafts] [CSS Pseudo] Hit test regions for pseudo-classes on highlight pseudo-elements (#11726)

My proposed resolution is that "pseudo-classes on highlight pseudo-elements trigger only when the highlighted region is hovered".

This captures the expectation that the `::highlight:hover` styling is associated with the highlight itself, not the entire element.

The implementation should be fine: when determining style for the highlight, check for the pseudo-class states and check the intersection points against the highlight geometry. The hardest part will be plumbing active pseudo classes and pointer locations through to the highlight style code.

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


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

Received on Wednesday, 25 June 2025 14:42:15 UTC