mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-27 09:10:55 +00:00
Issue #1356 - Remove -moz-user-input disabled to improve event handling.
This commit is contained in:
@@ -183,10 +183,8 @@ nsFormControlFrame::HandleEvent(nsPresContext* aPresContext,
|
||||
WidgetGUIEvent* aEvent,
|
||||
nsEventStatus* aEventStatus)
|
||||
{
|
||||
// Check for user-input:none style
|
||||
const nsStyleUserInterface* uiStyle = StyleUserInterface();
|
||||
if (uiStyle->mUserInput == StyleUserInput::None ||
|
||||
uiStyle->mUserInput == StyleUserInput::Disabled) {
|
||||
// Check for disabled content so that selection works properly (?).
|
||||
if (IsContentDisabled()) {
|
||||
return nsFrame::HandleEvent(aPresContext, aEvent, aEventStatus);
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user