Bug 849552 - <input type=range> should be given focus on mousedown/touchstart. r=smaug.

This commit is contained in:
Jonathan Watt 2013-03-12 11:30:03 +00:00
Родитель 671d017476
Коммит 0424aa0324
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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: