diff --git a/layout/reftests/forms/input/file/button-height-ref.html b/layout/reftests/forms/input/file/button-height-ref.html deleted file mode 100644 index 1ce40810f639..000000000000 --- a/layout/reftests/forms/input/file/button-height-ref.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/layout/reftests/forms/input/file/button-height.html b/layout/reftests/forms/input/file/button-height.html deleted file mode 100644 index 0baf0a60abc0..000000000000 --- a/layout/reftests/forms/input/file/button-height.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/layout/reftests/forms/input/file/reftest.list b/layout/reftests/forms/input/file/reftest.list index 58a42489c85c..a7a80ef6a181 100644 --- a/layout/reftests/forms/input/file/reftest.list +++ b/layout/reftests/forms/input/file/reftest.list @@ -9,4 +9,3 @@ fuzzy-if(Android,0-2,0-2) fuzzy-if(OSX,0-34,0-134) fails-if(webrender&&!(cocoaWi == label-min-inline-size.html label-min-inline-size-ref.html == css-overflow.html css-overflow-ref.html == css-display.html css-display-ref.html -== button-height.html button-height-ref.html diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css index 0c2b50cc2cb9..5c61a3381253 100644 --- a/layout/style/res/forms.css +++ b/layout/style/res/forms.css @@ -504,6 +504,7 @@ input[type="file"] > label { /* button part of file selector */ input[type="file"] > button { + block-size: inherit; font-size: unset; letter-spacing: unset; cursor: unset;