[Webkit-unassigned] [Bug 224746] New: font-size property doesn't apply to file upload button
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 19 03:36:35 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=224746
Bug ID: 224746
Summary: font-size property doesn't apply to file upload button
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vanita.barrett at digital.cabinet-office.gov.uk
Created attachment 426404
--> https://bugs.webkit.org/attachment.cgi?id=426404&action=review
HTML example (alternative to CodePen)
## What
When applying the `font-size` property to a file upload input, the font-size of the file upload button does not change. This happens even when applying the font-size property using the ::-webkit-file-upload-button selector.
Strangely, the font-size does change when the file upload has a background-color applied using ::-webkit-file-upload-button.
## Steps to reproduce
1. Open https://codepen.io/vanitabarrett/pen/qBRMPQw (or attached file) in Safari
2. The first file upload has the 'no file selected' text mis-aligned with the input button
3. The second file upload has the 'no file selected' correctly aligned and the file upload button font-size matches
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210419/9f225167/attachment.htm>
More information about the webkit-unassigned
mailing list