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

jnjaeschke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-highlight-api] highlightsFromPoint(): Clarify ordering for same-priority highlights ==
The [spec](https://drafts.csswg.org/css-highlight-api-1/#dom-highlightregistry-highlightsfrompoint:~:text=descending%20order%20of%20priority%2C) currently mentions that highlights returned from HighlightsFromPoint() are returned by priority in descending order, but don't mention ordering for highlights with the same priority. The [tests](https://github.com/web-platform-tests/wpt/blob/3863a5a4ca3f98ce6ad39a88d929207d21dbf5a1/css/css-highlight-api/HighlightRegistry-highlightsFromPoint.html#L72-L73) imply that in this case the highlights should be ordered by insertion order descending. 

cc @ffiori @stephanieyzhang @smaug----

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12002 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 12:58:44 UTC