| Summary: | font-size property doesn't apply to file upload button | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Vanita Barrett-Smith <vanita.barrett> | ||||
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | akeerthi, cdumez, ntim, oliver.byford, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 14 | ||||||
| Hardware: | Mac (Intel) | ||||||
| OS: | macOS 10.15 | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=238803 | ||||||
| Attachments: |
|
||||||
|
Description
Vanita Barrett-Smith
2021-04-19 03:36:35 PDT
Thanks for the report! I'm also able to reproduce using an <input type=button>. We've had this behavior for a long time, since the native rounded button style does not support variable sizes. It works when you specify a "background-color", since that drops us out of the native appearance. A workaround, if you do not require a native appearance, would be to specify "-webkit-appearance: none". However, we could probably fix this by transitioning to the native square button style for larger font sizes (as we already do for <button>). Bug 238803 would fix this, among with other issues! Bug 238803 fixes it. *** This bug has been marked as a duplicate of bug 238803 *** |