[wpt-sync] Sync PR 61876 - Blink: Support FontFace width as a stretch alias
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61876 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61876
Details from upstream follow.
Michael Reeves <michael.reeves077@gmail.com> wrote:
Blink: Support FontFace width as a stretch alias
CSS Font Loading defines width as the current FontFace descriptor and
retains stretch as a legacy alias. Chromium ignores the width
constructor member, causing the width descriptor aliasing WPT to fail.Expose FontFace.width through the existing stretch implementation and
prefer the width dictionary member when both aliases are supplied.
Remove the test expectation now that the WPT passes.Spec: https://github.com/w3c/csswg-drafts/pull/14197
Bug: 543938492
Change-Id: Ide837b25f9a693d2dc50adb34b5b4b468c3ee8a2
Reviewed-on: https://chromium-review.googlesource.com/8219972
WPT-Export-Revision: 8a245b8dcbb84aacbcd69946af5a9767095ffbbe
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b98a4919d6ece4e9865dd99cfb255cea9db9da7
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 116 tests
Status Summary
Firefox
OK : 3[GitHub] 107[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 13[GitHub] 1767[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1773[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 23[GitHub] 84[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 85[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 3
PASS: 24
FAIL: 12
Safari
OK : 3
PASS: 29
FAIL: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-font-loading/fontface-css-connected-descriptors.html [wpt.fyi]
- CSS-connected FontFace objects should be present:
FAIL - ascentOverride should be set correctly:
FAIL - descentOverride should be set correctly:
FAIL - display should be set correctly:
FAIL - featureSettings should be set correctly:
FAIL - stretch should be set correctly:
FAIL - style should be set correctly:
FAIL - weight should be set correctly:
FAIL - lineGapOverride should be set correctly:
FAIL
- CSS-connected FontFace objects should be present:
- /css/css-fonts/parsing/font-face-width.html [wpt.fyi]
- font-stretch: normal is valid:
FAIL - font-stretch: condensed is valid:
FAIL - font-stretch: 125% is valid:
FAIL - font-stretch: 75% 125% is valid:
FAIL
- font-stretch: normal is valid:
New Tests That Don't Pass
- /css/css-font-loading/fontface-css-connected-descriptors.html [wpt.fyi]
- CSS-connected FontFace objects should be present:
FAIL(Chrome:PASS, Safari:PASS) - ascentOverride should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - descentOverride should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - display should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - featureSettings should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - stretch should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - font-width should initialize the width and stretch attributes:
FAIL(Chrome:FAIL, Safari:PASS) - style should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - variationSettings should be set correctly:
FAIL(Chrome:PASS, Safari:FAIL) - weight should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - lineGapOverride should be set correctly:
FAIL(Chrome:PASS, Safari:PASS) - unicodeRange should be set correctly:
FAIL(Chrome:PASS, Safari:FAIL)
- CSS-connected FontFace objects should be present:
- /css/css-font-loading/fontface-descriptor-updates-2.html [wpt.fyi]
- Font matching uses updated style and family name:
FAIL
- Font matching uses updated style and family name:
- /css/css-font-loading/fontface-invalid-family.tentative.html [wpt.fyi]
- family: a b:
FAIL - family: a b:
FAIL - family: a b :
FAIL
- family: a b:
- /css/css-font-loading/fontfaceset-has.html [wpt.fyi]
- fontfaceset-has:
FAIL
- fontfaceset-has:
- /css/css-font-loading/fontfaceset-load-css-wide-keywords.html [wpt.fyi]
- Loading value with CSS-wide keyword "revert-layer" causes SyntaxError (document):
FAIL - Loading value with CSS-wide keyword "revert-layer" causes SyntaxError (worker):
FAIL
- Loading value with CSS-wide keyword "revert-layer" causes SyntaxError (document):
- /css/css-font-loading/idlharness.https.html [wpt.fyi]
- FontFace interface: attribute features:
FAIL - FontFace interface: attribute variations:
FAIL - FontFace interface: attribute palettes:
FAIL - FontFace interface: fontFace must inherit property "features" with the proper type:
FAIL - FontFace interface: fontFace must inherit property "variations" with the proper type:
FAIL - FontFace interface: fontFace must inherit property "palettes" with the proper type:
FAIL - FontFaceFeatures interface: existence and properties of interface object:
FAIL - FontFaceFeatures interface object length:
FAIL - FontFaceFeatures interface object name:
FAIL - FontFaceFeatures interface: existence and properties of interface prototype object:
FAIL - FontFaceFeatures interface: existence and properties of interface prototype object's "constructor" property:
FAIL - FontFaceFeatures interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - FontFaceVariationAxis interface: existence and properties of interface object:
FAIL - FontFaceVariationAxis interface object length:
FAIL - FontFaceVariationAxis interface object name:
FAIL - FontFaceVariationAxis interface: existence and properties of interface prototype object:
FAIL - FontFaceVariationAxis interface: existence and properties of interface prototype object's "constructor" property:
FAIL - FontFaceVariationAxis interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - FontFaceVariationAxis interface: attribute name:
FAIL - FontFaceVariationAxis interface: attribute axisTag:
FAIL - FontFaceVariationAxis interface: attribute minimumValue:
FAIL - FontFaceVariationAxis interface: attribute maximumValue:
FAIL - FontFaceVariationAxis interface: attribute defaultValue:
FAIL - FontFaceVariations interface: existence and properties of interface object:
FAIL - FontFaceVariations interface object length:
FAIL - FontFaceVariations interface object name:
FAIL - FontFaceVariations interface: existence and properties of interface prototype object:
FAIL - FontFaceVariations interface: existence and properties of interface prototype object's "constructor" property:
FAIL - FontFaceVariations interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - FontFaceVariations interface: setlike<FontFaceVariationAxis>:
FAIL - FontFacePalette interface: existence and properties of interface object:
FAIL - FontFacePalette interface object length:
FAIL - FontFacePalette interface object name:
FAIL - FontFacePalette interface: existence and properties of interface prototype object:
FAIL - FontFacePalette interface: existence and properties of interface prototype object's "constructor" property:
FAIL - FontFacePalette interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - FontFacePalette interface: iterable<DOMString>:
FAIL - FontFacePalette interface: attribute length:
FAIL - FontFacePalette interface: attribute usableWithLightBackground:
FAIL - FontFacePalette interface: attribute usableWithDarkBackground:
FAIL - FontFacePalettes interface: existence and properties of interface object:
FAIL - FontFacePalettes interface object length:
FAIL - FontFacePalettes interface object name:
FAIL - FontFacePalettes interface: existence and properties of interface prototype object:
FAIL - FontFacePalettes interface: existence and properties of interface prototype object's "constructor" property:
FAIL - FontFacePalettes interface: existence and properties of interface prototype object's @@unscopables property:
FAIL - FontFacePalettes interface: iterable<FontFacePalette>:
FAIL - FontFacePalettes interface: attribute length:
FAIL - FontFaceSet interface: setlike<FontFace>:
FAIL
- FontFace interface: attribute features:
- /css/css-fonts/parsing/font-face-width.html [wpt.fyi]
- font-width: auto is valid:
FAIL(Chrome:FAIL, Safari:FAIL) - font-width: normal is valid:
FAIL(Chrome:FAIL, Safari:PASS) - font-width: condensed is valid:
FAIL(Chrome:FAIL, Safari:PASS) - font-width: 125% is valid:
FAIL(Chrome:FAIL, Safari:PASS) - font-width: 75% 125% is valid:
FAIL(Chrome:FAIL, Safari:PASS) - font-stretch: auto is valid:
FAIL(Chrome:PASS, Safari:FAIL) - font-stretch: normal is valid:
FAIL(Chrome:PASS, Safari:PASS) - font-stretch: condensed is valid:
FAIL(Chrome:PASS, Safari:PASS) - font-stretch: 125% is valid:
FAIL(Chrome:PASS, Safari:PASS) - font-stretch: 75% 125% is valid:
FAIL(Chrome:PASS, Safari:PASS) - font-width and font-stretch address the same descriptor:
FAIL(Chrome:FAIL, Safari:PASS)
- font-width: auto is valid:
- /css/css-fonts/parsing/font-family-computed.html [wpt.fyi]
- Property font-family value '"New Century Schoolbook", serif':
FAIL
- Property font-family value '"New Century Schoolbook", serif':
- /css/css-fonts/parsing/font-family-valid.html [wpt.fyi]
- e.style['font-family'] = ""New Century Schoolbook", serif" should set the property value:
FAIL
- e.style['font-family'] = ""New Century Schoolbook", serif" should set the property value:
- /css/css-fonts/parsing/font-palette-values-valid.html [wpt.fyi]
- CSS Fonts Module Level 4: parsing @font-palette-values 35:
FAIL
- CSS Fonts Module Level 4: parsing @font-palette-values 35:
- /css/css-fonts/parsing/font-style-computed.html [wpt.fyi]
- Property font-style value 'oblique 14deg':
FAIL
- Property font-style value 'oblique 14deg':
- /css/css-fonts/parsing/font-style-valid.html [wpt.fyi]
- e.style['font-style'] = "oblique 14deg" should set the property value:
FAIL
- e.style['font-style'] = "oblique 14deg" should set the property value:
- /css/css-font-loading/fontface-override-descriptors.html [wpt.fyi]:
FAIL
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/166b711f58ee
https://hg.mozilla.org/mozilla-central/rev/2bf8e6e67d17
Description
•