Index: trunk/Source/core/dom/shadow/ElementShadow.cpp |
=================================================================== |
--- trunk/Source/core/dom/shadow/ElementShadow.cpp (revision 151673) |
+++ trunk/Source/core/dom/shadow/ElementShadow.cpp (working copy) |
@@ -44,6 +44,9 @@ |
// Existence of shadow roots requires the host and its children to do traversal using ComposedShadowTreeWalker. |
shadowHost->setNeedsShadowTreeWalker(); |
+ // FIXME(94905): ShadowHost should be reattached during recalcStyle. |
+ // Set some flag here and recreate shadow hosts' renderer in |
+ // Element::recalcStyle. |
if (shadowHost->attached()) |
shadowHost->lazyReattach(); |