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

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: 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/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index 53baaab839ee6d66335018073a7f44dca9eaf8ba..7b5118bde08b3e57420ce2c02629d91a35479bae 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -1025,7 +1025,7 @@ PassRefPtr<ComputedStyle> SVGElement::customStyleForLayoutObject() {
}
return document().ensureStyleResolver().styleForElement(
- correspondingElement(), style, DisallowStyleSharing);
+ correspondingElement(), style, style, DisallowStyleSharing);
}
bool SVGElement::layoutObjectIsNeeded(const ComputedStyle& style) {

Powered by Google App Engine
This is Rietveld 408576698