Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4f4b6333b8ed5cfcd0b10652548d5296874b313b
https://github.com/WebKit/WebKit/commit/4f4b6333b8ed5cfcd0b10652548d5296874b313b
Author: Razvan Caliman <[email protected]>
Date: 2026-02-04 (Wed, 04 Feb 2026)
Changed paths:
M Source/WebCore/inspector/InspectorFrontendHost.cpp
M Source/WebInspectorUI/UserInterface/Views/FilterBar.css
M Source/WebInspectorUI/UserInterface/Views/LogContentView.css
M Source/WebInspectorUI/UserInterface/Views/Main.css
Log Message:
-----------
Web Inspector: Update styling of search input icons
https://bugs.webkit.org/show_bug.cgi?id=306880
rdar://169539512
Reviewed by BJ Burg and Brandon Stewart.
Default styling for HTML search input fields has changed in macOS Tahoe
The spacing around icons has been reduced because the default input
has more padding and pronounced rounded corners.
Web Inspector overrides the default styles and didn't account for
the change in spacing. The icons for revealing the search history
and clearing the input are touching the sides of the input field.
This patch updates the spacing for icons in search input fields.
There were some leftover adjustments from a time predating macOS Tahoe,
Sequoia and even Sonoma which made search history icons appear misaligned.
This patch also removes those obsolete adjustments, fixing the alignment for
Web Inspector on those older macOS versions.
* Source/WebCore/inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::platformVersionName const):
* Source/WebInspectorUI/UserInterface/Views/FilterBar.css:
(:is(.filter-bar, .search-bar) >
input[type="search"]::-webkit-search-results-button): Deleted.
* Source/WebInspectorUI/UserInterface/Views/LogContentView.css:
(.navigation-bar > .item.find-banner.console >
input[type="search"]::-webkit-textfield-decoration-container): Deleted.
* Source/WebInspectorUI/UserInterface/Views/Main.css:
(body.mac-platform.tahoe input[type=search]::-webkit-search-cancel-button):
(body.mac-platform.tahoe input[type=search]::-webkit-search-results-button):
Canonical link: https://commits.webkit.org/306799@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications