When changing selected radio button with arrow keys, prevent the default action
for the key event. Bug 253299, r=aaronl, sr=bryner git-svn-id: svn://10.0.0.236/trunk@160329 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1502,6 +1502,9 @@ nsHTMLInputElement::HandleDOMEvent(nsPresContext* aPresContext,
|
||||
rv = radioContent->HandleDOMEvent(aPresContext, &event,
|
||||
nsnull, NS_EVENT_FLAG_INIT,
|
||||
&status);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
*aEventStatus = nsEventStatus_eConsumeNoDefault;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user