summaryrefslogtreecommitdiff
path: root/dom/base/FragmentOrElement.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 06:38:37 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 06:38:37 -0400
commit0c582f74457fa6110c76ea059d37aef6ab928c51 (patch)
tree845788e5a7a90326c7026a7bd139bc222352a54f /dom/base/FragmentOrElement.h
parentae3ebd490f370d86709cb9952e2b2af2bdfdc9c5 (diff)
downloadaura-central-0c582f74457fa6110c76ea059d37aef6ab928c51.tar.gz
Bug 1408341 - Implement assignedSlot on Element and Text
Tag mcp-graveyard/UXP%1375
Diffstat (limited to 'dom/base/FragmentOrElement.h')
-rw-r--r--dom/base/FragmentOrElement.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/base/FragmentOrElement.h b/dom/base/FragmentOrElement.h
index 07403cf39..df05bcb50 100644
--- a/dom/base/FragmentOrElement.h
+++ b/dom/base/FragmentOrElement.h
@@ -158,6 +158,8 @@ public:
virtual nsTArray<nsIContent*> &DestInsertionPoints() override;
virtual nsTArray<nsIContent*> *GetExistingDestInsertionPoints() const override;
virtual void SetShadowRoot(ShadowRoot* aBinding) override;
+ virtual mozilla::dom::HTMLSlotElement* GetAssignedSlot() const override;
+ virtual void SetAssignedSlot(mozilla::dom::HTMLSlotElement* aSlot) override;
virtual nsIContent *GetXBLInsertionParent() const override;
virtual void SetXBLInsertionParent(nsIContent* aContent) override;
virtual bool IsLink(nsIURI** aURI) const override;
@@ -301,6 +303,11 @@ public:
nsTArray<nsIContent*> mDestInsertionPoints;
/**
+ * The assigned slot associated with this element.
+ */
+ RefPtr<mozilla::dom::HTMLSlotElement> mAssignedSlot;
+
+ /**
* XBL binding installed on the element.
*/
RefPtr<nsXBLBinding> mXBLBinding;