[Webkit-unassigned] [Bug 201128] New: InputEvent.inputType is null when triggering Bold/Italic/Underline using execCommand

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 25 14:50:02 PDT 2019


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

            Bug ID: 201128
           Summary: InputEvent.inputType is null when triggering
                    Bold/Italic/Underline using execCommand
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com
                CC: wenson_hsieh at apple.com

To reproduce:

1. Go to https://whsieh.github.io/examples/input-events
2. Focus the richly editable area and type a few characters
3. Select all
4. Enter `document.execCommand("bold", true)` in Web Inspector.

Expected: the input event’s inputType should be formatBold.
Observed: it’s null instead.

Additional notes: this is inconsistent with how the inputType attribute is nonnull when using execCommand to insert or delete text.

-- 
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/20190825/281860d0/attachment-0001.html>


More information about the webkit-unassigned mailing list