summaryrefslogtreecommitdiffstats
path: root/dom/base/FragmentOrElement.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-18 06:04:15 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 09:59:19 +0100
commit6be9e507077bfdd2b8c82c203cf70f010ecce086 (patch)
tree5f0a9188256213506d1f2477d9ee1040b133c762 /dom/base/FragmentOrElement.cpp
parent93f8e06bb8d8656e868679d584c7c8771ff8e42f (diff)
downloadUXP-6be9e507077bfdd2b8c82c203cf70f010ecce086.tar
UXP-6be9e507077bfdd2b8c82c203cf70f010ecce086.tar.gz
UXP-6be9e507077bfdd2b8c82c203cf70f010ecce086.tar.lz
UXP-6be9e507077bfdd2b8c82c203cf70f010ecce086.tar.xz
UXP-6be9e507077bfdd2b8c82c203cf70f010ecce086.zip
HTML - implement the labels attribute
Diffstat (limited to 'dom/base/FragmentOrElement.cpp')
-rw-r--r--dom/base/FragmentOrElement.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/base/FragmentOrElement.cpp b/dom/base/FragmentOrElement.cpp
index 293177ce7..3112515ff 100644
--- a/dom/base/FragmentOrElement.cpp
+++ b/dom/base/FragmentOrElement.cpp
@@ -574,6 +574,9 @@ FragmentOrElement::nsDOMSlots::Traverse(nsCycleCollectionTraversalCallback &cb,
NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(cb, "mSlots->mChildrenList");
cb.NoteXPCOMChild(NS_ISUPPORTS_CAST(nsIDOMNodeList*, mChildrenList));
+ NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(cb, "mSlots->mLabelsList");
+ cb.NoteXPCOMChild(NS_ISUPPORTS_CAST(nsIDOMNodeList*, mLabelsList));
+
NS_CYCLE_COLLECTION_NOTE_EDGE_NAME(cb, "mSlots->mClassList");
cb.NoteXPCOMChild(mClassList.get());
@@ -602,6 +605,7 @@ FragmentOrElement::nsDOMSlots::Unlink(bool aIsXUL)
mShadowRoot = nullptr;
mContainingShadow = nullptr;
mChildrenList = nullptr;
+ mLabelsList = nullptr;
mCustomElementData = nullptr;
mClassList = nullptr;
}