Closed Bug 1789817 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35829 - Support CSS Conditional 5 font feature detection extensions

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Support CSS Conditional 5 font feature detection extensions

[1] defines two additional conditional functions font-tech() and
font-format() which were introduced after the resolution of TAG review
[2] and discussion in the CSS working group [3].

These functions allow conditional CSS to be included depending on level
of font support in the font stack of the UA. Feature detection becomes
particular important when checking for the level of color font support,
as UA capabilities still very and not all user agents provide support
for COLRv1 for example.

Implement behind SupportsFontFormatTech RuntimeEnabledFeatures flag
for now, pending I2S.

[1] https://www.w3.org/TR/css-conditional-5/#at-supports-ext
[2] https://github.com/w3ctag/design-reviews/issues/666
[3] https://github.com/w3c/csswg-drafts/issues/6520#issuecomment-947810568

Bug: 1255685
Change-Id: I96ab292bc9644b049a84e073b367063cdbedd26f

Reviewed-on: https://chromium-review.googlesource.com/3197710
WPT-Export-Revision: 9fd00b200383df7faf714b7143c4e50347e9e557

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

OK : 1
PASS: 9[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, GitHub] 10[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt]

Chrome

OK : 1
PASS: 6
FAIL: 3

Safari

OK : 1
PASS: 6
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3b1571bca459
[wpt PR 35829] - Support CSS Conditional 5 font feature detection extensions, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.