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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementRareData.cpp

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Allow text as child of the LayoutView, since it can happen with display: contents 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/svg/SVGElementRareData.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
index 5f14b8057441bc4f589b59f368d2b942fda03997..305231f80946779e3c763277ce3c99f931f0f7f2 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
@@ -32,7 +32,7 @@ ComputedStyle* SVGElementRareData::overrideComputedStyle(
// animation sandwhich model.
m_overrideComputedStyle =
element->document().ensureStyleResolver().styleForElement(
- element, parentStyle, DisallowStyleSharing,
+ element, parentStyle, parentStyle, DisallowStyleSharing,
MatchAllRulesExcludingSMIL);
m_needsOverrideComputedStyleUpdate = false;
}

Powered by Google App Engine
This is Rietveld 408576698