Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6b18990ab239faa06ab553edfa44da622255a3f
https://github.com/WebKit/WebKit/commit/e6b18990ab239faa06ab553edfa44da622255a3f
Author: Brandon Stewart <[email protected]>
Date: 2025-12-09 (Tue, 09 Dec 2025)
Changed paths:
M
Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js
M Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js
Log Message:
-----------
Web Inspector: Styles Redesign: filtering should be case-insensitive
https://bugs.webkit.org/show_bug.cgi?id=180899
rdar://problem/36086981
Reviewed by Devin Rousso.
The filter bar in the Elements tab's Styles sidebar was performing
case-sensitive
matching, which made it difficult to find CSS properties when the case didn't
match exactly. For example, searching for "BACKGROUND" wouldn't find
"background-color".
This change makes the filtering case insensitive by converting both the filter
text and the content being searched to lowercase before comparison.
*
Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:
(WI.SpreadsheetCSSStyleDeclarationSection.prototype._handleEditorFilterApplied):
* Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js:
(WI.SpreadsheetStyleProperty.prototype.applyFilter):
Canonical link: https://commits.webkit.org/304153@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications