Re: [csswg-drafts] [css-highlight-api] highlightsFromPoint(): Clarify ordering for same-priority highlights (#12002)

Hi @jnjaeschke, @schenney-chromium, thanks for your comments. From the spec for custom highlights, in the section that is linked to in highlightsFromPoint spec, [Priority of Overlapping Highlights](https://drafts.csswg.org/css-highlight-api-1/#priorities), it's specified which highlight has a higher effective priority if they're tied on their attribute value:

"When two or more [custom highlights](https://drafts.csswg.org/css-highlight-api-1/#custom-highlight) have the same numerical priority, the one most recently [registered](https://drafts.csswg.org/css-highlight-api-1/#registered) has the higher effective [priority](https://drafts.csswg.org/css-highlight-api-1/#priority)."

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


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

Received on Tuesday, 25 March 2025 19:02:03 UTC