Closed Bug 1754206 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32748 - Connect font-palette-values at rule parsing to StyleEngine

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Dominik Röttsches <drott@chromium.org> wrote:

Connect font-palette-values at rule parsing to StyleEngine

Enable StyleEngine and CSS machinery to detect @font-palette-values
rules and maintain their lifecycle.

The CL does not contain the functional parts of applying
font-palette-values rules to the output font rendering yet.

Parsing of such at rules is gated by the FontPalette
RuntimeEnabledFeatures flag.

Passes font-palette tests in css/css-fonts/parsing/. Adapted
css/css-fonts/parsing/font-palette-values-valid.html to differences in
how different user agents serialize color values in css text, and
account for differences in support for lab() and color() functions.

Bug: 1170794
Change-Id: I5ec5526f8d6e6f2897d17c9eb58d05fa8cd299f2
Reviewed-on: https://chromium-review.googlesource.com/3447227
WPT-Export-Revision: 66bbbaefb2dcdc85318c3f3e5216874bb41ddc2d

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5128fc62971 [wpt PR 32748] - Connect font-palette-values at rule parsing to StyleEngine, a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8aa6ff024f4c [wpt PR 32748] - Connect font-palette-values at rule parsing to StyleEngine, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.