Hum, actually, I take that back. aReflowState.availableHeight is NS_UNCONSTRAINEDSIZE from the get-go; nsPresShell::DoReflow sets it up that way:
// Don't pass size directly to the reflow state, since a // constrained height implies page/column breaking. nsSize reflowSize(size.width, NS_UNCONSTRAINEDSIZE); nsHTMLReflowState reflowState(mPresContext, target, rcx, reflowSize);
I wonder if it should only do that when target == rootFrame. Thoughts?
Note that this is also tripping the assertions at the end of nsPresShell::DoReflow about size changing during incremental reflow...
Hum, actually, I take that back. aReflowState. availableHeight is NS_UNCONSTRAINE DSIZE from the get-go; nsPresShell: :DoReflow sets it up that way:
// Don't pass size directly to the reflow state, since a size.width, NS_UNCONSTRAINE DSIZE); mPresContext, target, rcx, reflowSize);
// constrained height implies page/column breaking.
nsSize reflowSize(
nsHTMLReflowState reflowState(
I wonder if it should only do that when target == rootFrame. Thoughts?
Note that this is also tripping the assertions at the end of nsPresShell: :DoReflow about size changing during incremental reflow...