Bug 304114

Summary: When using the native auto-correct inputType 'insertReplacementText' not fired
Product: WebKit Reporter: michael
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: megan_gardner, wenson_hsieh
Priority: P2    
Version: Safari 26   
Hardware: Mac (Apple Silicon)   
OS: macOS 26   

michael
Reported 2025-12-13 06:48:18 PST
When you make a replacement using the native auto-correct feature, inputType 'insertText' with event.data = "null" is fired, but we'd expect 'insertReplacementText' as per Input Events Level 2 spec (https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes) Repro: https://w3c.github.io/editing/repros/494.html Context: https://github.com/w3c/editing/issues/494 NOTE: This issue has been discussed at the W3C Editing TF December Meeting: > seems like a bug. probably should be insertReplacementText
Attachments
Note You need to log in before you can comment on or make changes to this bug.