mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Issue #2456 - Intersection Observer - Accept a Document as an explicit root. https://bugzilla.mozilla.org/show_bug.cgi?id=1617154
This commit is contained in:
parent
79b4c36ef8
commit
f44db6a28b
3 changed files with 50 additions and 33 deletions
|
|
@ -145,7 +145,7 @@ public:
|
|||
return mOwner;
|
||||
}
|
||||
|
||||
Element* GetRoot() const {
|
||||
nsINode* GetRoot() const {
|
||||
return mRoot;
|
||||
}
|
||||
|
||||
|
|
@ -178,7 +178,7 @@ protected:
|
|||
nsCOMPtr<nsPIDOMWindowInner> mOwner;
|
||||
RefPtr<nsIDocument> mDocument;
|
||||
RefPtr<mozilla::dom::IntersectionCallback> mCallback;
|
||||
RefPtr<Element> mRoot;
|
||||
RefPtr<nsINode> mRoot;
|
||||
nsCSSRect mRootMargin;
|
||||
nsTArray<double> mThresholds;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue