mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 768503 follow-up: fix the comment to match what the code does now
DONTBUILD
This commit is contained in:
parent
bb945839b4
commit
aba4cb5aa3
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user