diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:05:27 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:05:27 -0400 |
commit | 3a74795a56e92313c1b33a54500917794ba09b72 (patch) | |
tree | 949f2d97d27713e6a8960b948e51644bcaf27c02 /dom/webidl | |
parent | 873abc7bcb6adc5cbf98ba3e1bd9a3271afc9806 (diff) | |
download | UXP-3a74795a56e92313c1b33a54500917794ba09b72.tar UXP-3a74795a56e92313c1b33a54500917794ba09b72.tar.gz UXP-3a74795a56e92313c1b33a54500917794ba09b72.tar.lz UXP-3a74795a56e92313c1b33a54500917794ba09b72.tar.xz UXP-3a74795a56e92313c1b33a54500917794ba09b72.zip |
Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / TextNode.assignedSlot on closed shadow root
Tag #1375
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/Element.webidl | 4 | ||||
-rw-r--r-- | dom/webidl/Text.webidl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/Element.webidl b/dom/webidl/Element.webidl index ddc548442..f6d0f7f93 100644 --- a/dom/webidl/Element.webidl +++ b/dom/webidl/Element.webidl @@ -238,9 +238,9 @@ partial interface Element { // Shadow DOM v1 [Throws, Pref="nsDocument::IsWebComponentsEnabled"] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict); - [Func="nsDocument::IsWebComponentsEnabled"] + [BinaryName="shadowRootByMode", Func="nsDocument::IsWebComponentsEnabled"] readonly attribute ShadowRoot? shadowRoot; - [Pref="nsDocument::IsWebComponentsEnabled"] + [BinaryName="assignedSlotByMode", Pref="nsDocument::IsWebComponentsEnabled"] readonly attribute HTMLSlotElement? assignedSlot; [CEReactions, Unscopable, SetterThrows, Pref="nsDocument::IsWebComponentsEnabled"] attribute DOMString slot; diff --git a/dom/webidl/Text.webidl b/dom/webidl/Text.webidl index f7bd1a971..c40b71cc5 100644 --- a/dom/webidl/Text.webidl +++ b/dom/webidl/Text.webidl @@ -19,7 +19,7 @@ interface Text : CharacterData { }; partial interface Text { - [Pref="dom.webcomponents.enabled"] + [BinaryName="assignedSlotByMode", Pref="dom.webcomponents.enabled"] readonly attribute HTMLSlotElement? assignedSlot; }; |