Closed Bug 1891571 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45720 - Only allow absolute colors in @font-palette-values

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
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

  1. currentcolor is not an absolute color
  2. light-dark() cannot be resolved without a used color-scheme for a
    given element.
  3. color-mix() with a system color or currentcolor is not absolute
  4. 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

Component: web-platform-tests → Layout: Text and Fonts
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 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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35c025748afd [wpt PR 45720] - Only allow absolute colors in @font-palette-values, a=testonly https://hg.mozilla.org/integration/autoland/rev/98a05098fb59 [wpt PR 45720] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.