Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2403423002: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: remove unnecessary change Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698