Baseline Widely Forms

:read-only and :read-write

The :read-only and :read-write CSS pseudo-classes match elements that are read-only or read-write, respectively. For example, :read-only matches <input> and <textarea> elements with the readonly attribute.

Baseline Status
Widely Available
Since 2020-07-28
First Core Launch
Chrome 1
2008-12-11
Core-3 Stability
4,219d (11.6y)
Last: Firefox (2020-06-30)
BCD Keys Mapped
2
Group: Forms

Browser Support Timeline

Chrome v1 (2008-12-11) Safari v4 (2009-06-08) Safari on iOS v3.2 (2010-04-03) Chrome Android v18 (2012-06-27) Edge v13 (2015-11-12) Firefox v78 (2020-06-30) Firefox for Android v79 (2020-07-28)
Green dot marks the first browser release (2008-12-11); blue dots show subsequent browser launches (+4247d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 1 2008-12-11
Safari desktop 4 2009-06-08
Safari on iOS mobile 3.2 2010-04-03
Chrome Android mobile 18 2012-06-27
Edge desktop 13 2015-11-12
Firefox desktop 78 2020-06-30
Firefox for Android mobile 79 2020-07-28

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.read-only CSS 4,219d (11.6y)
css.selectors.read-write CSS 4,219d (11.6y)