mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fixed regression in trees. They go blank in mail when you resize the splitter.
-r hyatt, leaf
This commit is contained in:
parent
fab88c6406
commit
60c7389fcf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user