Bug 266700

Summary: AX: Pressing backspace deletes the whole node when a shadow root component rendered within contenteditable="true"
Product: WebKit Reporter: Vivin Krishna <vivinkrishna99>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, andresg_22, cdumez, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
Video demonstration of pressing backspace of shadow root element none

Vivin Krishna
Reported 2023-12-20 05:25:16 PST
Created attachment 469144 [details] Video demonstration of pressing backspace of shadow root element Pressing backspace deletes the whole node when a shadow root component rendered within contenteditable="true". Safari removes all content when pressing backspace whereas Chrome removes a single character as expected. Example: https://typescript-avgrtp.stackblitz.io Related to: https://bugs.webkit.org/show_bug.cgi?id=257745
Attachments
Video demonstration of pressing backspace of shadow root element (327.42 KB, image/gif)
2023-12-20 05:25 PST, Vivin Krishna
no flags
Radar WebKit Bug Importer
Comment 1 2023-12-20 05:25:24 PST
Ahmad Saleem
Comment 2 2024-04-02 07:32:07 PDT
Chrome Canary 125 and Firefox Nightly 126 just delete single character while Safari Technology Preview 191 deletes whole typed text.
Note You need to log in before you can comment on or make changes to this bug.