WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
303627
Web Inspector: Pull CSS property keyword completions from the backend instead of hardcoding them
https://bugs.webkit.org/show_bug.cgi?id=303627
Summary
Web Inspector: Pull CSS property keyword completions from the backend instead...
Brandon
Reported
2025-12-05 06:58:12 PST
CSSKeywordCompletions.js contained hardcoded lists of valid keyword values for CSS properties like `display`. The backend already provides keyword values for properties that are "keyword-fast-path eligible" via getSupportedCSSProperties(). However, properties like `display` that use custom parsers weren't included. This patch adds a new generated function CSSProperty::validKeywordsForProperty() that returns the valid keyword values from CSSProperties.json.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-12-05 06:58:18 PST
<
rdar://problem/165914089
>
Brandon
Comment 2
2025-12-05 06:59:57 PST
Pull request:
https://github.com/WebKit/WebKit/pull/54923
EWS
Comment 3
2025-12-09 18:26:09 PST
Committed
304195@main
(68e73e36fe06): <
https://commits.webkit.org/304195@main
> Reviewed commits have been landed. Closing PR #54923 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug