зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1457628 - Remove broken rule for the file input button. r=jfkthame
Inheriting block-size is just plain wrong in presence of calc or percentages. The layout without these rules also matches other browsers, so I see no reason not to do this. Differential Revision: https://phabricator.services.mozilla.com/D37746 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
cf2048abd6
Коммит
b2494dc0fa
|
@ -0,0 +1,6 @@
|
|||
<!doctype html>
|
||||
<style>
|
||||
/* Android adds a border for some reason */
|
||||
input { border: 0 }
|
||||
</style>
|
||||
<input type="file">
|
|
@ -0,0 +1,6 @@
|
|||
<!doctype html>
|
||||
<style>
|
||||
/* Android adds a border for some reason */
|
||||
input { border: 0 }
|
||||
</style>
|
||||
<input type="file" style="height: 400px">
|
|
@ -9,3 +9,4 @@ 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
|
||||
|
|
|
@ -504,7 +504,6 @@ input[type="file"] > label {
|
|||
|
||||
/* button part of file selector */
|
||||
input[type="file"] > button {
|
||||
block-size: inherit;
|
||||
font-size: unset;
|
||||
letter-spacing: unset;
|
||||
cursor: unset;
|
||||
|
|
Загрузка…
Ссылка в новой задаче