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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-3 TTA |
|---|---|---|
| css.selectors.read-only | CSS | 4,219d (11.6y) |
| css.selectors.read-write | CSS | 4,219d (11.6y) |