| Index: Source/core/dom/Element.h
|
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
|
| index f298a23c6f26069154a7448f773f8f77a03ff3f6..6e16014fe63c85a5ad0a2c390a40b49a1460704e 100644
|
| --- a/Source/core/dom/Element.h
|
| +++ b/Source/core/dom/Element.h
|
| @@ -828,6 +828,8 @@ inline Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* inse
|
| setFlag(IsInShadowTreeFlag);
|
| if (childNeedsDistributionRecalc() && !insertionPoint->childNeedsDistributionRecalc())
|
| insertionPoint->markAncestorsWithChildNeedsDistributionRecalc();
|
| + if (!insertionPoint->childNeedsStyleRecalc())
|
| + insertionPoint->markAncestorsWithChildNeedsStyleRecalc();
|
| return InsertionDone;
|
| }
|
|
|
|
|