| Index: trunk/Source/core/rendering/RenderTable.cpp
|
| ===================================================================
|
| --- trunk/Source/core/rendering/RenderTable.cpp (revision 157406)
|
| +++ trunk/Source/core/rendering/RenderTable.cpp (working copy)
|
| @@ -1422,11 +1422,7 @@
|
|
|
| RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject* parent)
|
| {
|
| - RefPtr<RenderStyle> newStyle;
|
| - if (parent->isInline() && !parent->isReplaced())
|
| - newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), INLINE_TABLE);
|
| - else
|
| - newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE);
|
| + RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE);
|
| RenderTable* newTable = new RenderTable(0);
|
| newTable->setDocumentForAnonymous(&parent->document());
|
| newTable->setStyle(newStyle.release());
|
|
|