Bug 229150
| Summary: | Fully use shadow content for <input type=file> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | DOM | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/82248658>