Bug 224816 - Replace some manual checks with isCSSWideKeyword
Summary: Replace some manual checks with isCSSWideKeyword
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 232750 232830 232868 233035
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-20 08:55 PDT by Tim Nguyen (:ntim)
Modified: 2021-11-12 03:02 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.