зеркало из https://github.com/mozilla/gecko-dev.git
Bug 849552 - <input type=range> should be given focus on mousedown/touchstart. r=smaug.
This commit is contained in:
Родитель
671d017476
Коммит
0424aa0324
|
@ -3112,9 +3112,6 @@ nsHTMLInputElement::PostHandleEventForRangeThumb(nsEventChainPostVisitor& aVisit
|
|||
}
|
||||
}
|
||||
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;
|
||||
|
||||
case NS_MOUSE_MOVE:
|
||||
|
@ -3130,9 +3127,6 @@ nsHTMLInputElement::PostHandleEventForRangeThumb(nsEventChainPostVisitor& aVisit
|
|||
SetValueOfRangeForUserEvent(rangeFrame->GetValueAtEventPoint(
|
||||
static_cast<nsInputEvent*>(aVisitor.mEvent)));
|
||||
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;
|
||||
|
||||
case NS_MOUSE_BUTTON_UP:
|
||||
|
|
Загрузка…
Ссылка в новой задаче