Closed Bug 1948201 Opened 10 days ago Closed 6 days ago

[wpt-sync] Sync PR 50705 - [HighlightsFromPoint] Add WPT tests

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 50705 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/50705
Details from upstream follow.

Fernando Fiori <ffiori@microsoft.com> wrote:

[HighlightsFromPoint] Add WPT tests

Add WPT tests and set the feature status to 'test' so it runs in the CI.

Bug: 365046212
Change-Id: I3e94b44955dd13216d73680729ff8edc9d3713c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6074351
Auto-Submit: Fernando Fiori \<ffiori@microsoft.com>
Commit-Queue: Kent Tamura \<tkent@chromium.org>
Reviewed-by: Kent Tamura \<tkent@chromium.org>
Reviewed-by: Sanket Joshi \<sajos@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1420209}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 3 subtests

Status Summary

Firefox

OK : 2
PASS: 2
FAIL: 4

Chrome

OK : 2
PASS: 2
FAIL: 4

Safari

OK : 2
PASS: 2
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-highlight-api/HighlightRegistry-highlightsFromPoint.html [wpt.fyi]
    • CSS.highlights.highlightsFromPoint() should return an empty vector when called with a point outside the document.: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS.highlights.highlightsFromPoint() returns Highlights present at the given point in the right order.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /shadow-dom/HighlightRegistry-highlightsFromPoint.html [wpt.fyi]
    • CSS.highlights.highlightsFromPoint() returns Highlights present at a given point inside a shadow tree in the right order.: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS.highlights.highlightsFromPoint() doesn't return Highlights that are not painted at the given coordinates even when they fall inside the Highlights' ranges: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa07c7111f36 [wpt PR 50705] - [HighlightsFromPoint] Add WPT tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/88745541346d [wpt PR 50705] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.