On Wed, Feb 5, 2014 at 8:33 PM, Masayuki Nakano <masay...@d-toybox.com>wrote:
> I filed bug 968056 for changing our keypress event behavior for > conformance with D3E definition. > https://bugzilla.mozilla.org/show_bug.cgi?id=968056 > > In D3E definition, keypress event shouldn't be fired for non-printable > keys like arrow keys, home/end keys, page up/down keys, insert/delete keys, > Esc key and Tab key. > > However, Gecko dispatches keypress event for almost all keys (only except > modifier keys like Shift, Ctrl, Alt and Win). > > In a lot of places of our code, non-printable keys are handled by keypress > event handler. We need to change them to keydown event handler for fixing > bug 968056. > > Therefore, I have two requests to you. > > 1. Please don't handle non-printable keys with keypress event handlers in > new code. Please refuse such patch in review process. > 2. Please file bugs if you find keypress event handler which handles > non-printable key and mark it as blocking bug 968056. > > Of course, if you fix the new bugs filed for #2, it helps me very much. > But it's very helpful to me if you just file bugs for #2. > Isn't it likely that Web sites depend on the existing behavior too? Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform