Index: Source/WebCore/rendering/RenderRubyText.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderRubyText.cpp (revision 95972) |
+++ Source/WebCore/rendering/RenderRubyText.cpp (working copy) |
@@ -81,4 +81,15 @@ |
logicalWidth -= inset; |
} |
+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 |