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 469bc7a952c742e9449d340a4b81df0a039a8166..5bf73b380649be66edf05a06bc669c894d80a388 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1902,6 +1902,8 @@ PassRefPtr<ComputedStyle> Element::propagateInheritedProperties( |
StyleRecalcChange change) { |
if (change != IndependentInherit) |
return nullptr; |
+ if (isPseudoElement()) |
+ return nullptr; |
if (needsStyleRecalc()) |
return nullptr; |
if (hasAnimations()) |