:read-only and :read-write pseudo-classes have been unprefixed

Published:

Categories: CSS

Releases: Firefox 78, Firefox 78 ESR

Description

The :read-only and :read-write CSS pseudo-classes have become available in Firefox 78 and later. The prefixed :-moz-read-only and :-moz-read-write pseudo-classes remain as the aliases, but the support will be removed in the future.

Firefox 78 has also fixed a standard-compliant issue of :read-write so that it will no longer be applied to disabled <input> and <textarea> elements, according the HTML spec.

How can I test this?

This change can be tested with the compatibilty checker in our Firefox Developer Tools extension. Get it today!

References