Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Just list all elements that support and don't support readonly #38534

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Josh-Cena
Copy link
Member

Fix #27408. Based on whatwg/html#9496, it appears that there really is no coherent story for why the readonly attribute only supports textual inputs, because it's not going to be totally useless on non-textual ones. I think it's fine to not give a reasoning or motivation.

@Josh-Cena Josh-Cena requested a review from a team as a code owner March 8, 2025 22:40
@Josh-Cena Josh-Cena requested review from estelle and removed request for a team March 8, 2025 22:40
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels Mar 8, 2025
Copy link
Contributor

github-actions bot commented Mar 8, 2025

Preview URLs

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Correct explanation of why readonly only affects text controls
1 participant