| Index: Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp (revision 118007)
|
| +++ Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp (working copy)
|
| @@ -76,8 +76,7 @@
|
|
|
| // Make sure we have a script block for rendering.
|
| if (m_kind == SubSup && !m_scripts) {
|
| - RefPtr<RenderStyle> scriptsStyle = RenderStyle::createAnonymousStyle(style());
|
| - scriptsStyle->setDisplay(INLINE_BLOCK);
|
| + RefPtr<RenderStyle> scriptsStyle = RenderStyle::createAnonymousStyleWithDisplay(style(), INLINE_BLOCK);
|
| scriptsStyle->setVerticalAlign(TOP);
|
| scriptsStyle->setMarginLeft(Length(gSubsupScriptMargin, Fixed));
|
| scriptsStyle->setTextAlign(LEFT);
|
|
|