[wpt-sync] Sync PR 45720 - Only allow absolute colors in @font-palette-values
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox127 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45720 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45720
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Only allow absolute colors in @font-palette-values
- currentcolor is not an absolute color
- light-dark() cannot be resolved without a used color-scheme for a
given element.- color-mix() with a system color or currentcolor is not absolute
- color-contrast() with a system color or currentcolor is not absolute
Bug: 334377755
Change-Id: I54e1ca1c1c1ebcc0a16e6a0a0acb734be69f4f20
Reviewed-on: https://chromium-review.googlesource.com/5454392
WPT-Export-Revision: 307f3a3e9879e3568e3b2b536d579eac0bcc5c14
| 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 and 34 subtests
Status Summary
Firefox
OK : 2
PASS: 58
FAIL: 1
Chrome
OK : 2
PASS: 56
FAIL: 3
Safari
OK : 2
PASS: 55
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-fonts/parsing/font-palette-values-valid.html [wpt.fyi]
- CSS Fonts Module Level 4: parsing @font-palette-values 33:
FAIL(Chrome:PASS, Safari:FAIL)
- CSS Fonts Module Level 4: parsing @font-palette-values 33:
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/35c025748afd
https://hg.mozilla.org/mozilla-central/rev/98a05098fb59
Description
•