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

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

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Rebased Created 3 years, 11 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/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index ca28a2c62aabbe6da3ad50231c4f87911506fcf2..d4bb0cbf745c0126c3fc33a1fdd979b5ff3b5bd3 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -1021,7 +1021,7 @@ PassRefPtr<ComputedStyle> SVGElement::customStyleForLayoutObject() {
}
return document().ensureStyleResolver().styleForElement(
- correspondingElement(), style, DisallowStyleSharing);
+ correspondingElement(), style, style, DisallowStyleSharing);
rune 2017/01/27 13:09:23 Is this correct? Can we get here for SVGSVGElement
emilio 2017/01/27 22:13:15 Note that style will only be non-null when the par
rune 2017/02/06 22:40:44 The display property applies to SVG elements, but
emilio 2017/02/08 10:59:24 Makes sense, will do.
}
MutableStylePropertySet* SVGElement::animatedSMILStyleProperties() const {

Powered by Google App Engine
This is Rietveld 408576698