| Index: sky/engine/core/dom/Element.cpp
|
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
|
| index 2ff0dcc665f22b84e341c5040914005cf3aa8f54..04f19a0de690d4b165aa7c7e5355682d8f3d8c51 100644
|
| --- a/sky/engine/core/dom/Element.cpp
|
| +++ b/sky/engine/core/dom/Element.cpp
|
| @@ -812,18 +812,18 @@ void Element::attach(const AttachContext& context)
|
|
|
| RenderTreeBuilder(this, context.resolvedStyle).createRendererForElementIfNeeded();
|
|
|
| - // When a shadow root exists, it does the work of attaching the children.
|
| - if (ElementShadow* shadow = this->shadow())
|
| - shadow->attach(context);
|
| -
|
| - ContainerNode::attach(context);
|
| -
|
| if (hasRareData() && !renderer()) {
|
| if (ActiveAnimations* activeAnimations = elementRareData()->activeAnimations()) {
|
| activeAnimations->cssAnimations().cancel();
|
| activeAnimations->setAnimationStyleChange(false);
|
| }
|
| }
|
| +
|
| + // When a shadow root exists, it does the work of attaching the children.
|
| + if (ElementShadow* shadow = this->shadow())
|
| + shadow->attach(context);
|
| +
|
| + ContainerNode::attach(context);
|
| }
|
|
|
| void Element::detach(const AttachContext& context)
|
|
|