Bug 1164783 - Change default style for input type=search to box-sizing: border-box. r=dbaron
authorKarl Dubost <kdubost@mozilla.com>
Wed, 10 Jun 2015 14:58:55 +0900
changeset 248359 f2602400179fe37a47439bdcbe5386cb5a5d6eb5
parent 248358 9de887e531726b4fdc64fe9f5e0d3c1d4b017e24
child 248360 9cdcbe67e79bee7969dd0f9faabb53fb09bb6a70
push id28893
push userkwierso@gmail.com
push dateFri, 12 Jun 2015 00:02:58 +0000
treeherdermozilla-central@8cf9d3e497f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1164783
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1164783 - Change default style for input type=search to box-sizing: border-box. r=dbaron
layout/style/forms.css
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -552,16 +552,20 @@ input[type="radio"]:-moz-focusring {
 }
 
 input[type="checkbox"]:hover:active,
 input[type="radio"]:hover:active {
   background-color: ThreeDFace ! important;
   border-style: inset !important;
 }
 
+input[type="search"] {
+  box-sizing: border-box;
+}
+
 /* buttons */
 
 /* Note: Values in nsNativeTheme IsWidgetStyled function
    need to match button background/border values here */
 
 /* Non text-related properties for buttons: these ones are shared with
    input[type="color"] */
 button,