Index: Source/WebCore/rendering/mathml/RenderMathMLRow.cpp |
=================================================================== |
--- Source/WebCore/rendering/mathml/RenderMathMLRow.cpp (revision 118007) |
+++ Source/WebCore/rendering/mathml/RenderMathMLRow.cpp (working copy) |
@@ -44,6 +44,15 @@ |
void RenderMathMLRow::layout() |
{ |
RenderBlock::layout(); |
+ RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), INLINE_BLOCK); |
+ RenderMathMLRow* newMRow = new (parent->renderArena()) RenderMathMLRow(parent->document() /* is anonymous */); |
+ newMRow->setStyle(newStyle.release()); |
+ return newMRow; |
+} |
+ |
+void RenderMathMLRow::computePreferredLogicalWidths() |
+{ |
+ ASSERT(preferredLogicalWidthsDirty() && needsLayout()); |
int maxHeight = 0; |