зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset eb2930fc7c59 (bug 1302470)
--HG-- extra : rebase_source : b7ea38492e4d956798e3dd94230674f1aece0d47
This commit is contained in:
Родитель
23d4250821
Коммит
b6ae5cfccc
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче