Fix for Bug 17644 [INLINE-H] negative text-indent paragraphs starting with images, r=dbaron, sr=roc+moz

git-svn-id: svn://10.0.0.236/trunk@109566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smontagu%netscape.com
2001-12-03 23:30:32 +00:00
parent 82e08e2088
commit cba13e3d15
2 changed files with 2 additions and 2 deletions

View File

@@ -1672,7 +1672,7 @@ nsLineLayout::PlaceFrame(PerFrameData* pfd, nsHTMLReflowMetrics& aMetrics)
// Count the number of frames on the line...
mTotalPlacedFrames++;
if (psd->mX != psd->mLeftEdge) {
if (psd->mX != psd->mLeftEdge || pfd->mBounds.x != psd->mLeftEdge) {
// As soon as a frame placed on the line advances an X coordinate
// of any span we can no longer place a floater on the line.
SetFlag(LL_CANPLACEFLOATER, PR_FALSE);