Backed out changeset 00ab51ea2723 (bug 1620778) for test_autocomplete_mac_caret.xhtml failures CLOSED TREE
This commit is contained in:
@@ -950,15 +950,6 @@ TextInputListener::HandleEvent(Event* aEvent) {
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
{
|
||||
auto* input = HTMLInputElement::FromNode(mTxtCtrlElement);
|
||||
if (input && input->StepsInputValue(*widgetKeyEvent)) {
|
||||
// As an special case, don't handle key events that would step the value
|
||||
// of our <input type=number>.
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
||||
KeyEventHandler* keyHandlers = ShortcutKeys::GetHandlers(
|
||||
mTxtCtrlElement->IsTextArea() ? HandlerType::eTextArea
|
||||
: HandlerType::eInput);
|
||||
|
||||
Reference in New Issue
Block a user