diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 1c90929c7f3..81c458f4a99 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -488,7 +488,8 @@ nsTreeCreator::CreateTableRowFrame(nsIFrame** aNewFrame) { nsresult nsTreeCreator::CreateTableCellInnerFrame(nsIFrame** aNewFrame) { - return NS_NewBoxFrame(mPresShell, aNewFrame); + //return NS_NewBoxFrame(mPresShell, aNewFrame); + return NS_NewTableCellInnerFrame(mPresShell, aNewFrame); } #endif // INCLUDE_XUL diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 1c90929c7f3..81c458f4a99 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -488,7 +488,8 @@ nsTreeCreator::CreateTableRowFrame(nsIFrame** aNewFrame) { nsresult nsTreeCreator::CreateTableCellInnerFrame(nsIFrame** aNewFrame) { - return NS_NewBoxFrame(mPresShell, aNewFrame); + //return NS_NewBoxFrame(mPresShell, aNewFrame); + return NS_NewTableCellInnerFrame(mPresShell, aNewFrame); } #endif // INCLUDE_XUL