зеркало из https://github.com/mozilla/gecko-dev.git
Fix triple-click paragraph selection near block generated content. bug=339430, r+sr=roc
This commit is contained in:
Родитель
d66da853d4
Коммит
0ba372b7aa
|
@ -4057,6 +4057,9 @@ FindBlockFrameOrBR(nsIFrame* aFrame, nsDirection aDirection)
|
|||
nsContentAndOffset result;
|
||||
result.mContent = nsnull;
|
||||
|
||||
if (aFrame->IsGeneratedContentFrame())
|
||||
return result;
|
||||
|
||||
// Treat form controls as inline leaves
|
||||
// XXX we really need a way to determine whether a frame is inline-level
|
||||
nsIFormControlFrame* fcf; // used only for QI
|
||||
|
|
Загрузка…
Ссылка в новой задаче