Bug 246912
Summary: | font shorthand should reset more longhands | ||
---|---|---|---|
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 | ||
Bug Depends on: | |||
Bug Blocks: | 246579 |
Tim Nguyen (:ntim)
https://drafts.csswg.org/css-fonts-4/#font-prop
We only reset font-variant-caps, but we should reset more.
> All subproperties of the font property are first reset to their initial values, including those listed above plus font-size-adjust, font-kerning, all subproperties of font-variant, font-feature-settings, font-language-override, font-optical-sizing, font-variation-settings, and font-palette. Then, those properties that are given explicit values in the font shorthand are set to those values. For a definition of allowed and initial values, see the previously defined properties.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/101486558>
Darin Adler
Pull request: https://github.com/WebKit/WebKit/pull/5937
EWS
Committed 256349@main (9de002d111c7): <https://commits.webkit.org/256349@main>
Reviewed commits have been landed. Closing PR #5937 and removing active labels.