+2011-09-23 Abhishek Arya <inferno@chromium.org>
+
+ Style not updated for :before, :after content
+ in ruby text.
+ https://bugs.webkit.org/show_bug.cgi?id=68625
+
+ Reviewed by Dave Hyatt.
+
+ * fast/ruby/ruby-text-before-after-content-expected.png: Added.
+ * fast/ruby/ruby-text-before-after-content-expected.txt: Added.
+ * fast/ruby/ruby-text-before-after-content.html: Added.
+
2011-09-23 David Hyatt <hyatt@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=68719
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x87
+ RenderBlock {HTML} at (0,0) size 800x87
+ RenderBody {BODY} at (16,16) size 768x55 [color=#0000FF]
+ RenderRuby (inline) {RUBY} at (0,0) size 213x37
+ RenderRubyRun (anonymous) at (0,18) size 192x37
+ RenderRubyText {RT} at (0,-18) size 192x18
+ RenderInline (generated) at (0,0) size 63x18
+ RenderText at (0,0) size 63x18
+ text run at (0,0) width 63: "BEFORE"
+ RenderText {#text} at (63,0) size 77x18
+ text run at (63,0) width 77: "CONTENT"
+ RenderInline (generated) at (0,0) size 52x18
+ RenderText at (140,0) size 52x18
+ text run at (140,0) width 52: "AFTER"
+ RenderRubyBase (anonymous) at (0,0) size 192x37
+ RenderText {#text} at (84,0) size 24x37
+ text run at (84,0) width 24: "A"
+ RenderRubyRun (anonymous) at (192,18) size 21x37
+ RenderRubyBase (anonymous) at (0,0) size 21x37
+ RenderText {#text} at (0,0) size 21x37
+ text run at (0,0) width 21: "B"
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+2011-09-23 Abhishek Arya <inferno@chromium.org>
+
+ Style not updated for :before, :after content
+ in ruby text.
+ https://bugs.webkit.org/show_bug.cgi?id=68625
+
+ Reviewed by Dave Hyatt.
+
+ Test: fast/ruby/ruby-text-before-after-content.html
+
+ * rendering/RenderRubyText.cpp:
+ (WebCore::RenderRubyText::updateBeforeAfterContent):
+ * rendering/RenderRubyText.h:
+
2011-09-22 Ojan Vafai <ojan@chromium.org>
refactor RenderFlexibleBox to use flex-flow aware methods
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