Bug 245972

Summary: font-variant-east-asian wrongly expects to be the last longhand in the font-variant shorthand.
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matthieu Dubet 2022-10-03 10:59:55 PDT
From the Color Font Level 4 spec, it should be usable in any order in the font-variant shorthand.

https://drafts.csswg.org/css-fonts-4/#font-variant-prop

"Separating two or more components by a double bar, ||, means that all entities are options: at least one of them must be present, and they may appear in any order. Typically this is used to define the different values of a shorthand property."
Comment 1 Matthieu Dubet 2022-10-03 15:13:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4945
Comment 2 Radar WebKit Bug Importer 2022-10-04 07:04:23 PDT
<rdar://problem/100761060>
Comment 3 EWS 2022-10-04 11:01:27 PDT
Committed 255134@main (fd7b349b71ef): <https://commits.webkit.org/255134@main>

Reviewed commits have been landed. Closing PR #4945 and removing active labels.