mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond
This commit is contained in:
parent
50d4ca7f94
commit
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user