Bug 224816

Summary: Replace some manual checks with isCSSWideKeyword
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 232750, 232830, 232868, 233035    
Bug Blocks:    

Description Tim Nguyen (:ntim) 2021-04-20 08:55:37 PDT
There are various manual checks being done across the codebase, that are essentially `isCSSWideKeyword`.

`isCSSWideKeyword` should be used instead so those manual checks aren't duplicate code, and don't fall out of date in case a new keyword is introduced.
Comment 1 Radar WebKit Bug Importer 2021-04-20 08:56:03 PDT
<rdar://problem/76900720>
Comment 2 Tim Nguyen (:ntim) 2021-04-20 09:19:22 PDT
Hmm, this would require moving `isCSSWideKeyword` to a header file that's convenient to include.