mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1102135 - When select word, bailed out if frame is not selectable. r=roc
This commit is contained in:
parent
c02688e4f4
commit
6338d7697a
@ -565,6 +565,12 @@ SelectionCarets::SelectWord()
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
bool selectable;
|
||||
ptFrame->IsSelectable(&selectable, nullptr);
|
||||
if (!selectable) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsPoint ptInFrame = mDownPoint;
|
||||
nsLayoutUtils::TransformPoint(rootFrame, ptFrame, ptInFrame);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user