See the readonly row on: https://html.spec.whatwg.org/multipage/input.html#do-not-apply Only applies to text only input types + <textarea> Text, Search URL, Telephone Email Password Date, Month, Week, Time Local Date and Time Number
<rdar://problem/93173726>
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.