mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 768503: Only disable selection on non-editable content. r=roc
This commit is contained in:
parent
b74402d23a
commit
8fbfc92703
@ -2681,7 +2681,8 @@ nsFrame::HandlePress(nsPresContext* aPresContext,
|
||||
|
||||
// On touchables devices, touch the screen is usually a pan action,
|
||||
// so let reposition the caret if needed but do not select text
|
||||
if (Preferences::GetBool("browser.ignoreNativeFrameTextSelection", false)) {
|
||||
if (!offsets.content->IsEditable() &&
|
||||
Preferences::GetBool("browser.ignoreNativeFrameTextSelection", false)) {
|
||||
return fc->HandleClick(offsets.content, offsets.StartOffset(),
|
||||
offsets.EndOffset(), false, false,
|
||||
offsets.associateWithNext);
|
||||
|
Loading…
Reference in New Issue
Block a user