Merge m-c to inbound.

This commit is contained in:
Ryan VanderMeulen 2012-08-21 18:23:36 -04:00
commit 13be984b0d

View File

@ -2680,7 +2680,9 @@ nsFrame::HandlePress(nsPresContext* aPresContext,
return NS_ERROR_FAILURE;
// On touchables devices, touch the screen is usually a pan action,
// so let reposition the caret if needed but do not select text
// so let's reposition the caret if needed but do not select text
// if the touch did not happen over an editable element. Otherwise,
// let the user move the caret by tapping and dragging.
if (!offsets.content->IsEditable() &&
Preferences::GetBool("browser.ignoreNativeFrameTextSelection", false)) {
return fc->HandleClick(offsets.content, offsets.StartOffset(),