| Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| index 0f993d87aea9d8f88aac90c8dc41b76c2ed396b3..08398319f27fbeb98c6ddfe6721b45b696955f2f 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| @@ -278,6 +278,11 @@ bool SharedStyleFinder::canShareStyleWithElement(Element& candidate) const
|
| return false;
|
| }
|
|
|
| + // TODO(kochi): Investigate cases when assigned slots can share styles.
|
| + // TODO(kochi): Figure out better way to check if an element is slotted.
|
| + if (element().assignedSlotForBinding())
|
| + return false;
|
| +
|
| return true;
|
| }
|
|
|
|
|