|Summary:||Unsupport -webkit-user-modify CSS property|
|Product:||WebKit||Reporter:||Ryosuke Niwa <rniwa>|
|Component:||HTML Editing||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Enhancement||CC:||cshu, darin, efidler, enrica, hyatt, justin.garcia, mifenton, mjs, shinyak, simon.fraser, tonikitoo, tony, zcorpan|
|Version:||528+ (Nightly build)|
Description Ryosuke Niwa 2011-01-06 15:11:24 PST
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.
Comment 1 Darin Adler 2011-01-06 18:13:42 PST
Hyatt, I think you suggested this long ago. What do you think it would take to do this successfully?
Comment 2 Chang Shu 2011-01-20 07:59:17 PST
Any updates? :)
Comment 3 Ryosuke Niwa 2011-03-17 09:46:36 PDT
I've seen examples of websites that rely on this feature so we can't drop this feature anytime soon.
Comment 4 Ryosuke Niwa 2011-10-18 22:46:35 PDT
Revisiting this bug because it's causing a lot of problems in relation to UndoManager / Transaction spec.
Comment 5 Ryosuke Niwa 2011-10-18 22:48:45 PDT
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.
Comment 6 Simon Pieters (:zcorpan) 2022-09-21 12:31:21 PDT
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: https://github.com/whatwg/html/pull/8275 https://github.com/w3c/editing/pull/407