[Webkit-unassigned] [Bug 165198] New: |execCommand()| shouldn't fire 'beforeinput'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 08:17:16 PST 2016


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

            Bug ID: 165198
           Summary: |execCommand()| shouldn't fire 'beforeinput'
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: chongz at chromium.org
                CC: enrica at apple.com, rniwa at webkit.org,
                    wenson_hsieh at apple.com

According to https://github.com/w3c/editing/issues/43 'beforeinput' should only be fired for user actions. Firing it for |execCommand()| might cause some nested events.

Or do we want to change the spec?

Reproduce Steps [Release 18 (Safari 10.1, WebKit 12603.1.12)]:
1. Go to https://jsbin.com/tevepaw
2. Focus the text
3. Wait for 2 seconds
4. Notice that both 'beforeinput'/'input' will be logged

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161130/94f29960/attachment.html>


More information about the webkit-unassigned mailing list