commit 24a30cf62a359feef8cb600215bcf09f9431dfb3
parent 880b44ac3d77cc548a67ec628fd2b0e2c439cd44
Author: Jonathan Kew <jkew@mozilla.com>
Date: Sun, 26 Oct 2025 22:14:43 +0000
Bug 1996404 - Set hyphens:none on single-line text controls, so we don't waste time keeping track of potential breaks that we'll never use. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D270078
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css
@@ -184,6 +184,7 @@ input::-moz-text-control-preview {
resize: none;
word-wrap: normal;
white-space: pre;
+ hyphens: none;
/* Make the line-height equal to the available height */
line-height: -moz-block-height !important;
}