Ship Window.event, keyCode change, and keypress event handling changes
Categories
(Core :: DOM: Events, defect, P2)
Tracking
()
People
(Reporter: birtles, Assigned: masayuki)
References
Details
(Keywords: dev-doc-complete, site-compat, Whiteboard: [webcompat:p1])
Attachments
(2 files)
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
bugherder |
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
Assignee | ||
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
OK, I think I have documented this adequately.
See the additions to the Fx65 rel notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/65#APIs
For the event/returnValue re-additions, I've updated the compat data:
https://github.com/mdn/browser-compat-data/pull/3357
For the charCode/keyCode mirroring behavior, I've aded notes to these places:
https://developer.mozilla.org/en-US/docs/Web/Events/keypress#Browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress#Browser_compatibility_notes
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Compatibility_notes
For "Non-printable keys (like cursor keys) no longer dispatch keypress events", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=968056#c29
For "keydown and keyup events are now dispatched during composition", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=354358#c55
Let me know if this covers it, or if you'd like to see anything else. Thanks!
Assignee | ||
Comment 25•6 years ago
|
||
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #24)
OK, I think I have documented this adequately.
See the additions to the Fx65 rel notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/65#APIs
Ah, really sorry. Window.event, Event.returnValue and using same value to keyCode and charCode of keypress events were put off to 66. See bug 1520756.
For the event/returnValue re-additions, I've updated the compat data:
https://github.com/mdn/browser-compat-data/pull/3357
So, should be update it 66 again (but we're still not sure we can ship them at 66 as we planned).
For the charCode/keyCode mirroring behavior, I've aded notes to these places:
https://developer.mozilla.org/en-US/docs/Web/Events/keypress#Browser_compatibility
So, should update "As of Firefox 65". (Note that non-printable keypress dispatching and keydown/keyup event dispatching in composition are shipped in 65.)
And note that I found technical term of the behaviors in UI Events spec. Our traditional behavior is called as "split model". The new behavior is called as "conflated model". You can introduce these terms.
https://w3c.github.io/uievents/#determine-keypress-keyCode
Same above, you should update "As of Firefox 65" only in the first paragraph.
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Compatibility_notes
Ditto.
For "Non-printable keys (like cursor keys) no longer dispatch keypress events", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=968056#c29
Thanks!
For "keydown and keyup events are now dispatched during composition", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=354358#c55
Thanks!
Comment 26•6 years ago
|
||
(In reply to Masayuki Nakano [:masayuki] (JST, +0900) from comment #25)
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #24)
OK, I think I have documented this adequately.
See the additions to the Fx65 rel notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/65#APIsAh, really sorry. Window.event, Event.returnValue and using same value to keyCode and charCode of keypress events were put off to 66. See bug 1520756.
Hehe. This really is the "gift that keeps on giving", as we say in the UK ;-)
No matter, I'm happy to make the changes to get this right. I've moved those notes out of the 65 rel notes, and in to the 66 rel notes for now:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66#APIs
You'll see that I've put a "Tentative" note on them, to make it clear they are not assured for 66. But I still want to keep these notes recorded somewhere because they will be useful on they finally ship.
For the event/returnValue re-additions, I've updated the compat data:
https://github.com/mdn/browser-compat-data/pull/3357So, should be update it 66 again (but we're still not sure we can ship them at 66 as we planned).
For the moment, since they are not assured to ship in 66, I've just updated the PR to put them back to being not shipped/disabled, plus I've added notes to explain the situation. I hope that's OK. We can always update it again when it finally ships.
For the charCode/keyCode mirroring behavior, I've aded notes to these places:
https://developer.mozilla.org/en-US/docs/Web/Events/keypress#Browser_compatibility
So, should update "As of Firefox 65". (Note that non-printable keypress dispatching and keydown/keyup event dispatching in composition are shipped in 65.)
And note that I found technical term of the behaviors in UI Events spec. Our traditional behavior is called as "split model". The new behavior is called as "conflated model". You can introduce these terms.
https://w3c.github.io/uievents/#determine-keypress-keyCode
I've added a mention of this to the note in the 66 rel notes, as it is a useful detail.
Same above, you should update "As of Firefox 65" only in the first paragraph.
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Compatibility_notes
Ditto.
So, for these last three, I've just removed the note altogether for now, since it is not currently shipped. I hope that's OK.
For "Non-printable keys (like cursor keys) no longer dispatch keypress events", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=968056#c29
Thanks!
For "keydown and keyup events are now dispatched during composition", this was covered by https://bugzilla.mozilla.org/show_bug.cgi?id=354358#c55
Thanks!
Thanks to you too for all the help on this. It has taken a while, but I'm starting to understand it.
Assignee | ||
Comment 27•6 years ago
|
||
(In reply to Chris Mills (Mozilla, MDN editor) [:cmills] from comment #26)
(In reply to Masayuki Nakano [:masayuki] (JST, +0900) from comment #25)
No matter, I'm happy to make the changes to get this right. I've moved those notes out of the 65 rel notes, and in to the 66 rel notes for now:https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66#APIs
Thanks!
For the event/returnValue re-additions, I've updated the compat data:
https://github.com/mdn/browser-compat-data/pull/3357So, should be update it 66 again (but we're still not sure we can ship them at 66 as we planned).
For the moment, since they are not assured to ship in 66, I've just updated the PR to put them back to being not shipped/disabled, plus I've added notes to explain the situation. I hope that's OK. We can always update it again when it finally ships.
Sure.
Same above, you should update "As of Firefox 65" only in the first paragraph.
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Compatibility_notes
Ditto.
So, for these last three, I've just removed the note altogether for now, since it is not currently shipped. I hope that's OK.
Thanks.
Description
•