commit | 232c62972c919927922d08050749280f11ce4f2b | [log] [tgz] |
---|---|---|
author | chongz <chongz@chromium.org> | Wed Apr 20 16:38:11 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 20 16:40:06 2016 |
tree | 696603e39d9afb3a6bc032cb9ee293fbe255be01 | |
parent | 5160fb439dc0ba515c6708a7d96dc88ebd14bb11 [diff] |
Fire 'beforeinput' during typing, pressing hot keys and IME composition Support |inputType| and |data| field. 'beforeinput' will be fired when: 1. Typing without IME 2. Pressing hot keys like Ctrl-Z 3. Typing with IME, will be fire before compositionUpdate 'beforeinput' will not be fired by Document.execCommand(). SPEC=http://w3c.github.io/editing/input-events.html#event-type-beforeinput BUG=585875 Review URL: https://codereview.chromium.org/1752933002 Cr-Commit-Position: refs/heads/master@{#388519}