[Webkit-unassigned] [Bug 217695] New: `inputType` of `beforeinput` and `input` events fired when choosing a correct spell of the spellchecker is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 21:51:55 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=217695

            Bug ID: 217695
           Summary: `inputType` of `beforeinput` and `input` events fired
                    when choosing a correct spell of the spellchecker is
                    wrong
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: masayuki at d-toybox.com
                CC: wenson_hsieh at apple.com

1. Go to https://d-toybox.com/studio/lib/input_event_viewer.html
2. Choose "<div contenteditable>"
3. Type "Speeed" into the editor below "Test editor beahvior:"
4. Then, the word should be underlined by the spellchecker.
5. Right click on the word and choose "Speed".

Then, a pair of `beforeinput` and `input` events is fired as expected, but `inputType` is `"insertText"`, although it should be `"insertReplacementText"`.
https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes

Maybe related to bug 177657.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201014/47293a15/attachment.htm>


More information about the webkit-unassigned mailing list