https://bugzilla.wikimedia.org/show_bug.cgi?id=63630

--- Comment #4 from Bartosz Dziewoński <[email protected]> ---
So, Opera 12 sends the events for the keypresses of Esc and Tab. These events
reach ve.ce.Surface.prototype.onDocumentKeyPress and eventually
ve.ce.Surface.prototype.handleInsertion, which decides to insert the pawn,
which will not be overwritten because neither Esc not Tab produce any text.

onDocumentKeyPress attempts to filter out non-character keypresses by
discarding ones where the charCode is 0; Opera's event for Esc has charCode ==
27,
for Tab charCode == 9. I guess other browsers use 0 here for some weird reason
and you depend on this behavior.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to