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

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: Support display: contents for elements, first-line and first-letter pseudos. Created 3 years, 10 months 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 0b06a729d24c287698a45b920295c5ba7d0884d4..d384200710426580fe57f77be6f9563899f98a08 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
@@ -30,7 +30,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