RESOLVED FIXED 246912
font shorthand should reset more longhands
https://bugs.webkit.org/show_bug.cgi?id=246912
Summary font shorthand should reset more longhands
Tim Nguyen (:ntim)
Reported 2022-10-22 23:17:04 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-10-23 22:13:03 PDT
Darin Adler
Comment 2 2022-10-29 12:53:43 PDT
EWS
Comment 3 2022-11-04 20:37:32 PDT
Committed 256349@main (9de002d111c7): <https://commits.webkit.org/256349@main> Reviewed commits have been landed. Closing PR #5937 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.