mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 12:57:31 +09:00
Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly in event handling
* RE: BasicEvents.h - our WidgetEvent is not movable (yet), so the change that requires that wasn't included. * Parts of this use code that was introduced in bug 1427511. For now, they were replaced with their equivalents.
This commit is contained in:
parent
e286eb8adb
commit
24572438a0
9 changed files with 299 additions and 70 deletions
|
|
@ -427,6 +427,7 @@ public:
|
|||
|
||||
/// The possible related target
|
||||
nsCOMPtr<dom::EventTarget> mRelatedTarget;
|
||||
nsCOMPtr<dom::EventTarget> mOriginalRelatedTarget;
|
||||
|
||||
nsTArray<EventTargetChainItem>* mPath;
|
||||
|
||||
|
|
@ -448,6 +449,8 @@ public:
|
|||
mCurrentTarget = aCopyTargets ? aEvent.mCurrentTarget : nullptr;
|
||||
mOriginalTarget = aCopyTargets ? aEvent.mOriginalTarget : nullptr;
|
||||
mRelatedTarget = aCopyTargets ? aEvent.mRelatedTarget : nullptr;
|
||||
mOriginalRelatedTarget =
|
||||
aCopyTargets ? aEvent.mOriginalRelatedTarget : nullptr;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue