| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index b8c3e15739180047fa4a38821a1d3aaac037000d..e578bc18e6a599d09a368b53145ef9c777b75f90 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -3286,6 +3286,8 @@
|
| return false;
|
| if (!parentOrShadowHostElement()->childrenSupportStyleSharing())
|
| return false;
|
| + if (hasScopedHTMLStyleChild())
|
| + return false;
|
| if (this == document().cssTarget())
|
| return false;
|
| if (isHTMLElement() && toHTMLElement(this)->hasDirectionAuto())
|
|
|