WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
246573
Fix serialization of font-stretch in font shorthand
https://bugs.webkit.org/show_bug.cgi?id=246573
Summary
Fix serialization of font-stretch in font shorthand
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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/101217780
>
Darin Adler
Comment 3
2022-10-16 01:44:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/5429
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.
Top of Page
Format For Printing
XML
Clone This Bug