From c4cd9c8b70a71323be81577467d6924d50f4fdf1 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Thu, 19 Aug 1999 20:05:27 +0000 Subject: [PATCH] Changed to handle "ReflowDirty" reflow command --- layout/html/table/src/nsTableFrame.cpp | 7 +++++++ layout/tables/nsTableFrame.cpp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/layout/html/table/src/nsTableFrame.cpp b/layout/html/table/src/nsTableFrame.cpp index 473a11bd9e0..fe3132153e3 100644 --- a/layout/html/table/src/nsTableFrame.cpp +++ b/layout/html/table/src/nsTableFrame.cpp @@ -2981,6 +2981,13 @@ NS_METHOD nsTableFrame::IR_TargetIsMe(nsIPresContext& aPresContext, rv = NS_ERROR_ILLEGAL_VALUE; break; + case nsIReflowCommand::ReflowDirty: + InvalidateFirstPassCache(); + InvalidateColumnCache(); + InvalidateColumnWidths(); + rv = NS_OK; + break; + default: NS_NOTYETIMPLEMENTED("unexpected reflow command type"); rv = NS_ERROR_NOT_IMPLEMENTED; diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index 473a11bd9e0..fe3132153e3 100644 --- a/layout/tables/nsTableFrame.cpp +++ b/layout/tables/nsTableFrame.cpp @@ -2981,6 +2981,13 @@ NS_METHOD nsTableFrame::IR_TargetIsMe(nsIPresContext& aPresContext, rv = NS_ERROR_ILLEGAL_VALUE; break; + case nsIReflowCommand::ReflowDirty: + InvalidateFirstPassCache(); + InvalidateColumnCache(); + InvalidateColumnWidths(); + rv = NS_OK; + break; + default: NS_NOTYETIMPLEMENTED("unexpected reflow command type"); rv = NS_ERROR_NOT_IMPLEMENTED;