For now text acts like a replaced element

git-svn-id: svn://10.0.0.236/trunk@21637 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-02-23 19:35:21 +00:00
parent 93e88038fa
commit 4585457984
2 changed files with 2 additions and 0 deletions

View File

@@ -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;
}