| Index: Source/core/layout/LayoutTable.cpp
|
| diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp
|
| index 224e1115399565b3219678411cfdc1985341f393..d5e60a3e18a0f9261b40d09573c63e1d75c93094 100644
|
| --- a/Source/core/layout/LayoutTable.cpp
|
| +++ b/Source/core/layout/LayoutTable.cpp
|
| @@ -1335,7 +1335,7 @@ bool LayoutTable::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
|
|
|
| LayoutTable* LayoutTable::createAnonymousWithParentRenderer(const LayoutObject* parent)
|
| {
|
| - RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE);
|
| + RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(parent->styleRef(), parent->isRenderInline() ? INLINE_TABLE : TABLE);
|
| LayoutTable* newTable = new LayoutTable(0);
|
| newTable->setDocumentForAnonymous(&parent->document());
|
| newTable->setStyle(newStyle.release());
|
|
|