Closed Bug 1905460 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 46939 - Corrected transparent-accent-color tests to compute expected values based on canvas color

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Lily Spiniolas <lily_n_spiniolas2@apple.com> wrote:

Corrected transparent-accent-color tests to compute expected values based on canvas color

The transparent-accent-color tests currently assume the canvas color is #000000 in dark mode or #FFFFFF in light mode, which is not the case in all browsers. This change adds a script to the tests which calculates the expected color by composing the accent-color over the canvas color, which is the correct behavior according to this resolution made by the CSS working group: https://github.com/w3c/csswg-drafts/issues/9852#issuecomment-2166096835

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 2 tests

Status Summary

Firefox

PASS: 1
FAIL: 1

Chrome

FAIL: 2

Safari

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6b653ba7027e [wpt PR 46939] - Corrected transparent-accent-color tests to compute expected values based on canvas color, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.