Bug 272113

Summary: Web Inspector: CSS Completion picks property with higher usage count instead of exact match
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
CSS property counts in Web Inspector for "margin" none

Razvan Caliman
Reported 2024-04-03 13:31:01 PDT
Created attachment 470751 [details] CSS property counts in Web Inspector for "margin" An exact CSS property match will not be selected in the completions list if there is a completion of the same rank but with a higher usage count. For example, on my Web Inspector instance, `margin-bottom` has a larger usage count than `margin`. Typing "margin", both results have the same rank, but I expect `margin` to be the default pick because it is an exact match, despite the lower count.
Attachments
CSS property counts in Web Inspector for "margin" (627.17 KB, image/png)
2024-04-03 13:31 PDT, Razvan Caliman
no flags
Radar WebKit Bug Importer
Comment 1 2024-04-03 13:31:23 PDT
Razvan Caliman
Comment 2 2024-04-03 13:34:22 PDT
Note You need to log in before you can comment on or make changes to this bug.