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

Unified Diff: Source/WebCore/rendering/RenderRubyText.cpp

Issue 8037003: Merge 95857 - Source/WebCore: Style not updated for :before, :after content (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « Source/WebCore/rendering/RenderRubyText.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderRubyText.cpp
===================================================================
--- Source/WebCore/rendering/RenderRubyText.cpp (revision 95865)
+++ Source/WebCore/rendering/RenderRubyText.cpp (working copy)
@@ -86,4 +86,15 @@
return true;
}
+void RenderRubyText::updateBeforeAfterContent(PseudoId pseudoId)
+{
+ // RenderRubyText manages its own :before and :after content
+ // and is not handled by its anonymous wrappers RenderRubyRun
+ // and RenderRuby. This contrasts with other ruby children, which
+ // are enclosed in RenderRubyBase and hence they are able to
+ // update their :before, :after content (since RenderRubyBase
+ // is not a anonymous wrapper).
+ return children()->updateBeforeAfterContent(this, pseudoId);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/WebCore/rendering/RenderRubyText.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698