mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Backed out changeset 726e98cd071e (bug 1302470)
This commit is contained in:
parent
6784deba77
commit
4608be37d8
@ -1130,9 +1130,6 @@ FinderHighlighter.prototype = {
|
||||
|
||||
let DOMRect = window.DOMRect;
|
||||
for (let [range, rectsAndTexts] of dict.modalHighlightRectsMap) {
|
||||
if (!this.finder._fastFind.isRangeVisible(range, false))
|
||||
continue;
|
||||
|
||||
if (dict.updateAllRanges)
|
||||
rectsAndTexts = this._updateRangeRects(range);
|
||||
|
||||
|
@ -590,7 +590,7 @@ this.FinderIterator = {
|
||||
let range = window.document.createRange();
|
||||
range.setStart(frameEl, 0);
|
||||
range.setEnd(frameEl, 0);
|
||||
if (!finder._fastFind.isRangeVisible(range, false))
|
||||
if (!finder._fastFind.isRangeVisible(range, this._getDocShell(range), true))
|
||||
continue;
|
||||
// All conditions pass, so push the current frame and its children on the
|
||||
// stack.
|
||||
|
Loading…
Reference in New Issue
Block a user