Bug 768503 follow-up: fix the comment to match what the code does now

DONTBUILD
This commit is contained in:
Ehsan Akhgari 2012-08-21 17:09:10 -04:00
parent bb945839b4
commit aba4cb5aa3

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(),