| Summary: | readonly attribute should only apply on certain input types | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | Forms | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wenson_hsieh, zsun |
| Priority: | P2 | Keywords: | InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=239302 | ||
| Bug Depends on: | |||
| Bug Blocks: | 237192 | ||
|
Description
Tim Nguyen (:ntim)
2022-05-12 06:54:01 PDT
I'll take this. There's quite a bit that could be improved here. I won't be able to look into this soon, feel free to take this over. Seems like we have a supportsReadOnly() function on InputType, which should be helpful. I would either change the m_isReadOnly bit (which needs to be updated on type change too) or the isDisabledOrReadOnly function. Shouldn't be too hard, just a bit tedious. Pull request: https://github.com/WebKit/WebKit/pull/3115 Committed 253321@main (af43ca312063): <https://commits.webkit.org/253321@main> Reviewed commits have been landed. Closing PR #3115 and removing active labels. |