mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 849552 - <input type=range> should be given focus on mousedown/touchstart. r=smaug.
This commit is contained in:
parent
863b628724
commit
f1f779657e
@ -3112,9 +3112,6 @@ nsHTMLInputElement::PostHandleEventForRangeThumb(nsEventChainPostVisitor& aVisit
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
aVisitor.mEvent->mFlags.mMultipleActionsPrevented = true;
|
aVisitor.mEvent->mFlags.mMultipleActionsPrevented = true;
|
||||||
// Also set this to tell the native code on Android that it should not
|
|
||||||
// scroll:
|
|
||||||
aVisitor.mEventStatus = nsEventStatus_eConsumeNoDefault;
|
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case NS_MOUSE_MOVE:
|
case NS_MOUSE_MOVE:
|
||||||
@ -3130,9 +3127,6 @@ nsHTMLInputElement::PostHandleEventForRangeThumb(nsEventChainPostVisitor& aVisit
|
|||||||
SetValueOfRangeForUserEvent(rangeFrame->GetValueAtEventPoint(
|
SetValueOfRangeForUserEvent(rangeFrame->GetValueAtEventPoint(
|
||||||
static_cast<nsInputEvent*>(aVisitor.mEvent)));
|
static_cast<nsInputEvent*>(aVisitor.mEvent)));
|
||||||
aVisitor.mEvent->mFlags.mMultipleActionsPrevented = true;
|
aVisitor.mEvent->mFlags.mMultipleActionsPrevented = true;
|
||||||
// Also set this to tell the native code on Android that it should not
|
|
||||||
// scroll:
|
|
||||||
aVisitor.mEventStatus = nsEventStatus_eConsumeNoDefault;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NS_MOUSE_BUTTON_UP:
|
case NS_MOUSE_BUTTON_UP:
|
||||||
|
Loading…
Reference in New Issue
Block a user