Bug 229150

Summary: Fully use shadow content for <input type=file>
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 2021-08-16 09:42:16 PDT
looks like one part ("no file selected") is rendered using RenderTheme.mm, while the "Choose File" button is a <input type=button> as shadow content. Apparently this is historical. I think it would be beneficial to fully use shadow content here. Worth noting iOS has image previews.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-08-23 09:43:59 PDT
Note You need to log in before you can comment on or make changes to this bug.