Bug 306307
| Summary: | Readonly date input can be edited via keyboard | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Luke Warlow
Load `data:text/html,<input type="date" readonly value="1970-01-01">`
Tab to focus the first input component, press space to open the picker, press the down arrow to change the value for the day, press space to choose the new value, press escape to close the picker.
You'll notice that this changes the value.
Expected behaviour is that the picker isn't openable when in readonly mode, and no new value can be chosen.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/169488939>
Nipun Shukla
Pull request: https://github.com/WebKit/WebKit/pull/59056
EWS
Committed 307934@main (4d6199e55419): <https://commits.webkit.org/307934@main>
Reviewed commits have been landed. Closing PR #59056 and removing active labels.