merge_pr_52876
[css-highlight-api] Make highlightsFromPoint return HighlightHitResults
This CL changes the return type for CSS.highlights.highlightsFromPoint()
to return a sequence. Internally this corresponds to
returning a HeapVector<Member>.
This implements what was resolved in a CSSWG meeting, see more details
in this issue: w3c/csswg-drafts#12031
Other changes:
- Introduce the HighlightHitResult type.
- Fix unit tests and WPTs.
- Add some new unit tests and WPTs to address the ranges being returned
now as well.
Bug: 365046212, 416254971
Change-Id: Ic2cf061ff921e4a1d7ad7f47609fb6f644374724
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6598200
Commit-Queue: Fernando Fiori ffiori@microsoft.com
Reviewed-by: Dan Clark daniec@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1467678}