Doing a compat analysis for this change does not look straightforward to me 
as the change that is being proposed, happens in a specific use-case where 
there is a* modifier+key combination (Ctrl+Backspace, Ctrl+Delete, etc.) *while 
having a non-collapsed selection.
That said, for a site to actually break from this, it would need to:

   1. Listen for beforeinput/input events, 
   2. Specifically branch on inputType === "deleteWordBackward" (or similar 
   granularity types). This condition will be impacted only in case of 
   presence of non-collapsed selection and deletion via modifier keys. 
   3. Not have a handler for deleteContentBackward/deleteContentForward — 
   which they'd already need for plain Backspace/Delete (Any site handling 
   input events for deletion already handles 
   deleteContentBackward/deleteContentForward (since those are what plain 
   Backspace/Delete produce), so receiving these types for Ctrl+Backspace with 
   a selection will naturally fall into existing code paths.). 


As this appears to be rare scenario, *our motivation is to make the event 
spec compliant along with publishing a PSA which should be a sufficient 
enough mitigation*. Also note that this change is behind a runtime flag (
InputEventsDeleteNonCollapsedSelection ), so we can quickly disable it if 
any issues surface post-launch.

On Thursday, February 5, 2026 at 10:41:08 PM UTC+5:30 Mike Taylor wrote:

> On 2/4/26 9:58 p.m., Chromestatus wrote:
>
> *Contact emails*
> [email protected]
>
> *Specification*
> https://w3c.github.io/input-events/#interface-InputEvent-Attributes 
>
> *Summary*
> Reports accurate inputType values for deletion keyboard shortcuts on 
> selected text. When deletion commands like Ctrl+Backspace or Ctrl+Delete 
> are used with selected text in contenteditable elements, the beforeinput 
> and input events now report deleteContentBackward or deleteContentForward 
> instead of deleteWordBackward or deleteWordForward. This enables web 
> developers to correctly understand what editing operation occurred and 
> implement reliable undo/redo or custom editing behaviors. 
>
> Changing the attribute value here seems like it could break sites - have 
> you done any compat analysis? 
>
>
> *Blink component*
> Blink>Editing>InputEvent 
> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EEditing%3EInputEvent%22>
>
> *Web Feature ID*
> input-event <https://webstatus.dev/features/input-event> 
>
> *Risks*
>
>
> *Interoperability and Compatibility*
> *No information provided* 
>
> *Gecko*: No signal (
> https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType)
>
> *WebKit*: Shipped/Shipping (
> https://webkit.org/blog/7358/enhanced-editing-with-input-events)
>
> *Web developers*: No signals
>
> *Other signals*:
>
> *WebView application risks*
>
> Does this intent deprecate or change behavior of existing APIs, such that 
> it has potentially high risk for Android WebView-based applications? 
> *No information provided* 
>
>
> *Debuggability*
> *No information provided* 
>
> *Will this feature be supported on all six Blink platforms (Windows, Mac, 
> Linux, ChromeOS, Android, and Android WebView)?*
> Yes
>
> *Is this feature fully tested by web-platform-tests 
> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?*
> Yes 
>
>
>
>
> *Tracking bug*
> https://issues.chromium.org/issues/41423062
>
> *Estimated milestones*
> Shipping on desktop 145 
> Shipping on Android 145 
> Shipping on iOS 145 
>
> *Link to entry on the Chrome Platform Status*
> https://chromestatus.com/feature/5173317243895808
>
> This intent message was generated by Chrome Platform Status 
> <https://chromestatus.com>. 
>
> -- 
> 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 [email protected].
> To view this discussion visit 
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6984317b.050a0220.baa59.057d.GAE%40google.com
>  
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6984317b.050a0220.baa59.057d.GAE%40google.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/cfdf5dba-277d-43d0-ab94-453051b6a22dn%40chromium.org.

Reply via email to