Primary eng (and PM) emails
Summary
webkitBeforeTextInserted & webkitEditableContentChanged JS events are Blink internal and are non-standard events.
Motivation
webkitBeforeTextInserted & webkitEditableContentChanged JS events are Blink internal events and are non-standard events. There are better replacement of these events which Browser vendors have been actively working on such as Input events(https://w3c.github.io/input-events/).
Interoperability and Compatibility Risk
Considering the fact that it’s not spec’d and UseCounters show <0.000001% usage, interop and compat risks are minimal. Moreover Firefox doesn’t fire these events and Safari has plans to remove them in the future.
Edge: Positive to removal
Firefox: N/A as these events are internal to Webkit
Safari: Supported. Here is the bug tracking this work: https://bugs.webkit.org/show_bug.cgi?id=71168
Alternative implementation suggestion for web developers
Input events(https://w3c.github.io/input-events/): Browser vendors have been actively working on this spec and lot of improvements have been made since its proposal. These events are also interop and available on all major Browsers.
Usage information from
UseCounter
https://www.chromestatus.com/metrics/feature/timeline/popularity/1593
https://www.chromestatus.com/metrics/feature/popularity#WebkitBeforeTextInsertedOnInput
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1594
https://www.chromestatus.com/metrics/feature/popularity#WebkitBeforeTextInsertedOnTextArea
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1595
https://www.chromestatus.com/metrics/feature/popularity#WebkitBeforeTextInsertedOnContentEditable
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1596
https://www.chromestatus.com/metrics/feature/popularity#WebkitBeforeTextInsertedOnNotNode
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1597
https://www.chromestatus.com/metrics/feature/popularity#WebkitEditableContentChangedOnInput
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1598
https://www.chromestatus.com/metrics/feature/popularity#WebkitEditableContentChangedOnTextArea
<=0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1599
https://www.chromestatus.com/metrics/feature/popularity#WebkitEditableContentChangedOnContentEditable
0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1600
https://www.chromestatus.com/metrics/feature/popularity#WebkitEditableContentChangedOnNotNode
<=0.000001%
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=382814
Entry on the feature dashboard
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CH2PR00MB0680D4582BCA4BCC2B333FC5CF909%40CH2PR00MB0680.namprd00.prod.outlook.com.
Thanks Chris! I added a comment in that bug asking for updates and also gave them a headsup that we are proposing to remove this in Chromium.
LGTM2
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CH2PR00MB0680B824D85165D8BCC3E531CF909%40CH2PR00MB0680.namprd00.prod.outlook.com.