Open Bug 1460186 Opened 3 years ago Updated 2 years ago
input type=file is sensitive to height (while chrome and safari don't)
If I understand Bug 52500 introduces the possibility to style <input type="file"/> with CSS. There are different behaviors on macOS and Android at least in between Firefox and Chrome/Safari. (See the screenshot) Test case: data:text/html,<!doctype html><html style="background-color:pink;height:100vh"><input type="file" style="height:50px;background-color:gold;"/></html> * Safari Chrome: leave the widget size as-is but grows the box. * Firefox: changes the style of the widget and make it fill the box. See https://webcompat.com/issues/16794 (needs testing on Edge)
This is effectively the same underlying cause of bug 1457628, see there for more context.
See Also: → 1457628
Webcompat Priority: --- → ?
Webcompat Priority: ? → revisit
You need to log in before you can comment on or make changes to this bug.