Bug 237679

Summary: Web Inspector: Styles Panel: CSS variable completions should be provided even without a query
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, hi, inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch 1.0 none

Razvan Caliman
Reported 2022-03-09 15:03:20 PST
# Steps to Reproduce: - Ensure "Use fuzzy matching for completion suggestions" is enabled in Settings > Experimental - Inspect https://webkit.org - In the Styles panel, add a new CSS declaration: `color: var(` (notice the missing value for a variable name) # Result No completion suggestions provided. # Expected results In the absence of a query string, a list of all applicable CSS variable names should be provided. This is the behavior for classic prefix autocompletion. It's a regression when using fuzzy matching.
Attachments
Patch 1.0 (1.70 KB, patch)
2022-03-09 15:10 PST, Razvan Caliman
no flags
Radar WebKit Bug Importer
Comment 1 2022-03-09 15:03:54 PST
Razvan Caliman
Comment 2 2022-03-09 15:10:53 PST
Created attachment 454291 [details] Patch 1.0
Patrick Angle
Comment 3 2022-03-09 16:24:27 PST
Comment on attachment 454291 [details] Patch 1.0 r=me
EWS
Comment 4 2022-03-10 04:05:59 PST
Committed r291102 (248264@main): <https://commits.webkit.org/248264@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454291 [details].
Note You need to log in before you can comment on or make changes to this bug.