Re: [csswg-drafts] [css-forms-1] Specify behaviour of readonly and disabled temporal inputs (#13401)

I read somewhere that for some use cases it may be desirable to keep the picker of readonly controls functioning, for example `<input type=date>` to see a fixed date. I also remember a discussion about `<input type=color>` to see RGB values... though readonly doesn't apply to color.

Initially, HTML doesn't seem to prohibit the picker from opening, as it says:
> read-only controls can still function

But `showPicker()` is clear that it won't open readonly pickers:
> If this is not mutable, then throw an "InvalidStateError" DOMException.

-- 
GitHub Notification of comment by sb3nder
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13401#issuecomment-4284923129 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 20 April 2026 23:32:54 UTC