зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond
This commit is contained in:
Родитель
50d4ca7f94
Коммит
7c4e682123
|
@ -1371,6 +1371,10 @@ APZCTreeManager::GetAPZCAtPoint(HitTestingTreeNode* aNode,
|
|||
}
|
||||
if (result == prevSiblingApzc) {
|
||||
APZCTM_LOG("Continuing search past probable scrollinfo info layer\n");
|
||||
// We need to reset aOutHitResult in order to keep searching. This is
|
||||
// ok because we know that we will at least hit prevSiblingApzc
|
||||
// again, which is the same as result.
|
||||
*aOutHitResult = HitNothing;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче