Bug 246573

Summary: Fix serialization of font-stretch in font shorthand
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/36486
Bug Depends on:    
Bug Blocks: 246579    

Tim Nguyen (:ntim)
Reported 2022-10-15 09:14:35 PDT
https://wpt.fyi/results/css/css-fonts/font-shorthand-serialization-font-stretch.html?label=master&label=experimental&aligned&view=subtest Only CSS3 keyword values for font-stretch can be serialized in the font shorthand, other values need to prevent font from serializing.
Attachments
Darin Adler
Comment 1 2022-10-16 01:32:24 PDT
The test expects peculiar behavior, where you specify a value as a percentage and it serializes as the corresponding keyword. I implemented this behavior, but I am not sure the specification actually calls for it.
Radar WebKit Bug Importer
Comment 2 2022-10-16 01:40:25 PDT
Darin Adler
Comment 3 2022-10-16 01:44:39 PDT
EWS
Comment 4 2022-10-17 08:14:30 PDT
Committed 255628@main (eecfb48ef633): <https://commits.webkit.org/255628@main> Reviewed commits have been landed. Closing PR #5429 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.