[csswg-drafts] [css-forms-1] Specify readonly input styles (#12490)

lukewarlow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-forms-1] Specify readonly input styles ==
We need to add styles for readonly input styles, currently browsers seem to render them identically to read-write inputs BUT there's differing behaviour that would be good to standardise.

Chromium lets you focus the readonly input and even renders a text caret (but it doesn't blink as if caret-animation: manual was specified but it's not)

Firefox lets you focus the input but no text caret is rendered.

WebKit lets you focus but doesn't render a text caret and no focus outline ring is rendered...

I also wonder if rendering it like it's a normal input is actually the correct approach? Does it make more sense to render closer to that of a disabled input?



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12490 using your GitHub account


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

Received on Wednesday, 16 July 2025 22:34:47 UTC