Bug 383883: {inc} issues with block moving through non-moving float. r+sr+a=dbaron

This commit is contained in:
2007-08-20 13:07:50 -07:00
parent f98b9dc388
commit ffca226985
5 changed files with 80 additions and 112 deletions

View File

@@ -90,6 +90,7 @@ nsHTMLReflowState::nsHTMLReflowState(nsPresContext* aPresContext,
const nsSize& aAvailableSpace)
: nsCSSOffsetState(aFrame, aRenderingContext)
, mReflowDepth(0)
, mBlockDelta(0)
{
NS_PRECONDITION(aPresContext, "no pres context");
NS_PRECONDITION(aRenderingContext, "no rendering context");
@@ -134,6 +135,7 @@ nsHTMLReflowState::nsHTMLReflowState(nsPresContext* aPresContext,
: nsCSSOffsetState(aFrame, aParentReflowState.rendContext)
, mReflowDepth(aParentReflowState.mReflowDepth + 1)
, mFlags(aParentReflowState.mFlags)
, mBlockDelta(0)
{
NS_PRECONDITION(aPresContext, "no pres context");
NS_PRECONDITION(aFrame, "no frame");