[wpt-sync] Sync PR 46939 - Corrected transparent-accent-color tests to compute expected values based on canvas color
Categories
(Core :: Layout, task, P4)
Tracking
()
| 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
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
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
- /css/css-ui/transparent-accent-color-002.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•