зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1472425 - PointerEventHandler should use IsInComposedDoc, r=mrbkap
This commit is contained in:
Родитель
ca2e080d26
Коммит
a5cf31373f
|
@ -632,7 +632,7 @@ PointerEventHandler::DispatchGotOrLostPointerCaptureEvent(
|
|||
return;
|
||||
}
|
||||
|
||||
if (!aIsGotCapture && !aCaptureTarget->IsInUncomposedDoc()) {
|
||||
if (!aIsGotCapture && !aCaptureTarget->IsInComposedDoc()) {
|
||||
// If the capturing element was removed from the DOM tree, fire
|
||||
// ePointerLostCapture at the document.
|
||||
PointerEventInit init;
|
||||
|
|
Загрузка…
Ссылка в новой задаче