diff options
Diffstat (limited to 'Source/WebCore/html/shadow/InsertionPoint.cpp')
-rw-r--r-- | Source/WebCore/html/shadow/InsertionPoint.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/html/shadow/InsertionPoint.cpp b/Source/WebCore/html/shadow/InsertionPoint.cpp index fadbb457b..435796677 100644 --- a/Source/WebCore/html/shadow/InsertionPoint.cpp +++ b/Source/WebCore/html/shadow/InsertionPoint.cpp @@ -118,8 +118,10 @@ Node::InsertionNotificationRequest InsertionPoint::insertedInto(ContainerNode* i { HTMLElement::insertedInto(insertionPoint); if (insertionPoint->inDocument()) { - if (ShadowRoot* root = shadowRoot()) - root->owner()->invalidateDistribution(ElementShadow::InvalidateAndForceReattach); + if (ShadowRoot* root = shadowRoot()) { + root->owner()->setValidityUndetermined(); + root->owner()->invalidateDistribution(); + } } return InsertionDone; |