From 1a667c775e00e13697fcf319ececc069d52feafb Mon Sep 17 00:00:00 2001 From: "evaughan%netscape.com" Date: Wed, 9 Feb 2000 23:21:57 +0000 Subject: [PATCH] Fixed regression in trees. They go blank in mail when you resize the splitter. -r hyatt, leaf --- layout/xul/base/src/nsTreeOuterFrame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/xul/base/src/nsTreeOuterFrame.cpp b/layout/xul/base/src/nsTreeOuterFrame.cpp index 2615981e975..1bbaa9cffe0 100644 --- a/layout/xul/base/src/nsTreeOuterFrame.cpp +++ b/layout/xul/base/src/nsTreeOuterFrame.cpp @@ -108,16 +108,16 @@ nsTreeOuterFrame::Reflow(nsIPresContext* aPresContext, const nsHTMLReflowState& aReflowState, nsReflowStatus& aStatus) { - /* + // XXX at the moment we don't handle non incremental dirty reflow commands. So just convert them // to style changes for now. if (aReflowState.reason == eReflowReason_Dirty) { - NS_WARNING("Converting Dirty to StyleChange!! Table need to implement reflow Dirty!!"); + NS_WARNING("XXX Fix me!! Converting Dirty to Resize!! Table need to implement reflow Dirty!!"); nsHTMLReflowState goodState(aReflowState); - goodState.reason = eReflowReason_StyleChange; + goodState.reason = eReflowReason_Resize; return Reflow(aPresContext, aDesiredSize, goodState, aStatus); } - */ + PRBool badWidth = PR_FALSE;