fx153: Hide the native clear button in search fields

Firefox now creates a clear button for <input type="search"> in chrome
documents regardless of layout.forms.input-type-search.enabled (bug
1655503), which doubled up with the one we draw ourselves.
This commit is contained in:
Dan Stillman 2026-07-29 10:27:40 -04:00
parent 3430ad241b
commit 503bb03aec

View file

@ -22,6 +22,11 @@
@media not (-moz-platform: windows) {
@include focus-ring;
}
// We draw our own clear button below
&::-moz-search-clear-button {
display: none;
}
}
.search-cancel-button {