Per discussion on the bug 50636, we should get rid of -webkit-user-modify property. Editability can instead be solely determined by the DOM property.
Hyatt, I think you suggested this long ago. What do you think it would take to do this successfully?
Any updates? :)
I've seen examples of websites that rely on this feature so we can't drop this feature anytime soon.
Revisiting this bug because it's causing a lot of problems in relation to UndoManager / Transaction spec.
I had a discussion with Enrica, Ojan, & Tony about this, and I think we want to get some statistics on how many websites use this property. In addition, I've asked Enrica to check if there are any significant users of this property in Apple products and OS X apps.
It'd be great to deprecate this property in the future.
I think this Chrome use counter is relevant:
WebKitUserModifyEffective 0.63% https://chromestatus.com/metrics/feature/timeline/popularity/2630
However, as far as I can tell from the code in https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/dom/element.cc;l=274?q=webkitusermodifyeffective&ss=chromium&start=31 this includes usage of the contenteditable attribute.
wpt test that checks that -webkit-user-modify is not supported was added in https://github.com/web-platform-tests/wpt/pull/35471
In addition, the following spec PRs specify the HTML contenteditable="plaintext-only" which is supported in WebKit and Chromium: