[Webkit-unassigned] [Bug 165004] New: The event order of keydown/keyup events and composition events are wrong on macOS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 21 00:18:41 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=165004
Bug ID: 165004
Summary: The event order of keydown/keyup events and
composition events are wrong on macOS
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Macintosh
URL: https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test
.html
OS: macOS 10.12
Status: NEW
Severity: Normal
Priority: P2
Component: Event Handling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: masayuki at d-toybox.com
I tested this on:
* Safari Technology Preview Release 18 (Safari 10.1, WebKit 12603.1.12)
* Safari Version 10.0.1 (12602.2.14.0.7)
STR:
1. Load https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html
2. Change active keyboard layout to "Hiragana" of Japanese IME
3. Type "a" key of ANSI keyboard layout mapping
Expected Result:
event order should be:
1. keydown
2. compositionstart
3. compositionupdate
4. input
5. keyup
Actual Result:
1. compositionstart
2. compositionupdate
3. input
4. keydown
5. keyup
This is really different from the spec:
https://w3c.github.io/uievents/#events-composition-key-events
Google Chrome works as expected. Firefox doesn't fire keyup event since it's traditional behavior <https://bugzil.la/354358> but the order is correct.
--
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/20161121/c00054a8/attachment.html>
More information about the webkit-unassigned
mailing list