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;