| Index: Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp
|
| index 8f5fd802202aabc05598e8f1df17fc51bc57d399..97f3d71b040f4b3706ce1ec21b0f129e4dcec40b 100644
|
| --- a/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -208,7 +208,8 @@ void ShadowRoot::childrenChanged(const ChildrenChange& change)
|
| {
|
| ContainerNode::childrenChanged(change);
|
|
|
| - checkForSiblingStyleChanges(change.type == ChildRemoved ? SiblingRemoved : Other, change.siblingBeforeChange, change.siblingAfterChange);
|
| + if (change.isElementChange())
|
| + checkForSiblingStyleChanges(change.type == ElementRemoved ? SiblingElementRemoved : SiblingElementInserted, change.siblingBeforeChange, change.siblingAfterChange);
|
|
|
| if (InsertionPoint* point = shadowInsertionPointOfYoungerShadowRoot()) {
|
| if (ShadowRoot* root = point->containingShadowRoot())
|
|
|