diff --git a/mozilla/layout/generic/nsTextFrame.cpp b/mozilla/layout/generic/nsTextFrame.cpp index bea1f42f92b..c1140bc2fee 100644 --- a/mozilla/layout/generic/nsTextFrame.cpp +++ b/mozilla/layout/generic/nsTextFrame.cpp @@ -496,6 +496,7 @@ TextFrame::CreateContinuingFrame(nsIPresContext& aCX, } cf->Init(aCX, mContent, aParent, aStyleContext); cf->AppendToFlow(this); + cf->mState |= NS_FRAME_REPLACED_ELEMENT;/* XXX kipp: hack for inline reflow */ aContinuingFrame = cf; return NS_OK; } diff --git a/mozilla/layout/html/base/src/nsTextFrame.cpp b/mozilla/layout/html/base/src/nsTextFrame.cpp index bea1f42f92b..c1140bc2fee 100644 --- a/mozilla/layout/html/base/src/nsTextFrame.cpp +++ b/mozilla/layout/html/base/src/nsTextFrame.cpp @@ -496,6 +496,7 @@ TextFrame::CreateContinuingFrame(nsIPresContext& aCX, } cf->Init(aCX, mContent, aParent, aStyleContext); cf->AppendToFlow(this); + cf->mState |= NS_FRAME_REPLACED_ELEMENT;/* XXX kipp: hack for inline reflow */ aContinuingFrame = cf; return NS_OK; }