« CSS Reference: Mozilla extensions

The -moz-user-modify property determines whether or not the content of an element can be edited by a user. This property is related to the contentEditable attribute. A similar property 'user-focus' was proposed in early drafts of a predecessor of css3-ui but was rejected by the working group.


-moz-user-modify: read-only | read-write | write-only


Default value. Contents are read-only.
The user is able to read and write contents.
The user is able to edit the content, but not to read it.


.readwrite {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;

<div class="readwrite">The user is able to change this text.</div>

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 1.0 (1.7 or earlier) -moz Not supported Not supported 3.0 -webkit [1]
Feature Android Android Webview Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? ? ? ? ? ?

[1] Also supported: -webkit-user-modify: read-write-plaintext-only (Richtext will be lost).
This property was called -khtml-user-modify in Safari 2.0.


See also

Document Tags and Contributors

Contributors to this page: Jeremie, kscarfone, Sheppy, pauljay, DBaron, fscholz
Last updated by: Jeremie,
Hide Sidebar