diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-04-26 09:44:21 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-04-29 12:02:04 +0200 |
commit | 68bee1c7717f6219bcace8f6be4de42629687eab (patch) | |
tree | 64f4a3cee7816f98f413adc66dab24bf3e548830 /components/script/dom/htmlbaseelement.rs | |
parent | 9b2eb775302b84542ab8fea921ab441342fe79c3 (diff) | |
download | servo-68bee1c7717f6219bcace8f6be4de42629687eab.tar.gz servo-68bee1c7717f6219bcace8f6be4de42629687eab.zip |
Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
Clarify special case for containing_shadow_root and add it to layout
accessor
Diffstat (limited to 'components/script/dom/htmlbaseelement.rs')
-rw-r--r-- | components/script/dom/htmlbaseelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlbaseelement.rs b/components/script/dom/htmlbaseelement.rs index fc20091302d..71aa235df62 100644 --- a/components/script/dom/htmlbaseelement.rs +++ b/components/script/dom/htmlbaseelement.rs @@ -64,7 +64,7 @@ impl HTMLBaseElement { /// Update the cached base element in response to binding or unbinding from /// a tree. pub fn bind_unbind(&self, tree_in_doc: bool) { - if !tree_in_doc || self.upcast::<Node>().owner_shadow_root().is_some() { + if !tree_in_doc || self.upcast::<Node>().containing_shadow_root().is_some() { return; } |