Bug 246573
Summary: | Fix serialization of font-stretch in font shorthand | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | CSS | Assignee: | 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)
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
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
<rdar://problem/101217780>
Darin Adler
Pull request: https://github.com/WebKit/WebKit/pull/5429
EWS
Committed 255628@main (eecfb48ef633): <https://commits.webkit.org/255628@main>
Reviewed commits have been landed. Closing PR #5429 and removing active labels.