github web-platform-tests/wpt merge_pr_46420

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
15 months ago

Change the input format semantics for TextMetrics::getSelectionRects()

Update how the end index works for getSelectionRects from being
an inclusive limit on both sides, i.e. [start, end], to being exclusive
for the end limit, i.e. [start, end).

This way, we match the index semantics of the underlying
Font::SelectionRectForText() method that is used to calculate the
rects.

Bug: 341213359
Change-Id: I1a09bc256c9f04ae3ae974a587c3e732aa003a74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5553293
Commit-Queue: Andres Ricardo Perez andresrperez@chromium.org
Reviewed-by: Fernando Serboncini fserb@chromium.org
Cr-Commit-Position: refs/heads/main@{#1304612}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.