Bug 165083

Summary: Padding on text beside ::-webkit-file-upload-button is too large
Product: WebKit Reporter: Avery Magnotti <averymagnotti>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, thorton
Priority: P2    
Version: Safari 10   
Hardware: iPhone / iPad   
OS: iOS 10   
Attachments:
Description Flags
Extra padding on iOS 10
none
Test case. If need be, I'll clean up the code and post to CodePen. none

Avery Magnotti
Reported 2016-11-27 10:27:04 PST
Created attachment 295457 [details] Extra padding on iOS 10 On iOS 10, when styling ::-webkit-file-upload-button, the text beside the button has too much padding. This extra space calls the custom button when tapped. Note that this doesn't affect Safari on macOS.
Attachments
Extra padding on iOS 10 (74.87 KB, image/png)
2016-11-27 10:27 PST, Avery Magnotti
no flags
Test case. If need be, I'll clean up the code and post to CodePen. (31 bytes, text/plain)
2016-11-27 10:28 PST, Avery Magnotti
no flags
Avery Magnotti
Comment 1 2016-11-27 10:28:53 PST
Created attachment 295458 [details] Test case. If need be, I'll clean up the code and post to CodePen.
Note You need to log in before you can comment on or make changes to this bug.