зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ed9097c98efa (bug 1407987) for failing eslint at toolkit/modules/tests/browser/browser_Finder_offscreen_text.js. r=backout
--HG-- extra : amend_source : f3893dbe5e77479ffdb92fe18db238f42727d6e7
This commit is contained in:
Родитель
80c25bdd30
Коммит
1bb5155c5c
|
@ -1268,9 +1268,9 @@ nsTypeAheadFind::IsRangeVisible(nsIPresShell *aPresShell,
|
|||
nsRect(nsPoint(0,0), frame->GetSize()),
|
||||
minDistance);
|
||||
|
||||
if (rectVisibility == nsRectVisibility_kVisible) {
|
||||
// This is an early exit case, where we return true if and only if
|
||||
// the range is actually rendered.
|
||||
if (rectVisibility != nsRectVisibility_kAboveViewport) {
|
||||
// This is an early exit case, where we return true iff the range
|
||||
// is actually rendered.
|
||||
return IsRangeRendered(aPresShell, aPresContext, aRange);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче