Closed Bug 1811060 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37122 - Reset font subproperties to their initial value

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Munira Tursunova <moonira@google.com> wrote:

Reset font subproperties to their initial value

Reset font subproperties such as font-size-adjust, font-kerning,
font-feature-settings, font-optical-sizing and
font-variation-settings to their initial values, compare:
https://drafts.csswg.org/css-fonts-4/#font-prop

Also fixed the serialization of font shorthand property: when any of
subproperties are non initial, font shorthand property should be
serialized to an empty string.

Intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/22MU6QJK7l0/m/Ezu0RZMYAQAJ

Bug: 1379236
Change-Id: If5ac2faffc9e956a38ef4c5ccf2130d3623d3582
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4018412
Commit-Queue: Munira Tursunova \<moonira@google.com>
Reviewed-by: Yoav Weiss \<yoavweiss@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1093915}

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0363697086af [wpt PR 37122] - Reset font subproperties to their initial value, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.