Skip to content

[highlights] Fix highlightsFromPoint WPT assertions#61462

Open
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-8119492
Open

[highlights] Fix highlightsFromPoint WPT assertions#61462
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-8119492

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Correct two no-hit checks that assigned to an unused variable while
asserting stale results.

Make the invalid StaticRange test retain overlapping live geometry and
invalidate the static offset directly, so an incorrectly returned range
cannot pass unnoticed.

Replace explainer links with the normative Highlight API and CSSOM View
sections.

Bug: 527784934
Change-Id: I32a624ebd033ce910f04bf2a6c9334eddca6b6fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8119492
Auto-Submit: Fernando Fiori <ffiori@microsoft.com>
Reviewed-by: Fernando Fiori <ffiori@microsoft.com>
Reviewed-by: Stephanie Zhang <stephanie.zhang@microsoft.com>
Commit-Queue: Fernando Fiori <ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1665698}

Correct two no-hit checks that assigned to an unused variable while
asserting stale results.

Make the invalid StaticRange test retain overlapping live geometry and
invalidate the static offset directly, so an incorrectly returned range
cannot pass unnoticed.

Replace explainer links with the normative Highlight API and CSSOM View
sections.

Bug: 527784934
Change-Id: I32a624ebd033ce910f04bf2a6c9334eddca6b6fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8119492
Auto-Submit: Fernando Fiori <ffiori@microsoft.com>
Reviewed-by: Fernando Fiori <ffiori@microsoft.com>
Reviewed-by: Stephanie Zhang <stephanie.zhang@microsoft.com>
Commit-Queue: Fernando Fiori <ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1665698}

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants