Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Element.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
| index fd79b779eabf4799b7ba977e3148225b61db4544..8a4878e50c021a0877e57f0734025cdd5e5c94fd 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -1905,6 +1905,8 @@ PassRefPtr<ComputedStyle> Element::propagateInheritedProperties( |
| return nullptr; |
| if (hasAnimations()) |
| return nullptr; |
| + if (isPseudoElement()) |
|
meade_UTC10
2016/12/08 23:22:15
What's this for? Could you please add why you need
|
| + return nullptr; |
| const ComputedStyle* parentStyle = parentComputedStyle(); |
| DCHECK(parentStyle); |
| const ComputedStyle* style = computedStyle(); |