Bug 538935. A span should be considered non-empty (for the purposes of deciding whether stuff after it is 'at the beginning of the line') only if it contains non-empty content. r=dbaron
This commit is contained in:
@@ -933,7 +933,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
pfd->SetFlag(PFD_ISLETTERFRAME, PR_TRUE);
|
||||
}
|
||||
if (pfd->mSpan) {
|
||||
isEmpty = !pfd->mSpan->mHasNonemptyContent && pfd->mFrame->IsSelfEmpty();
|
||||
isEmpty = !pfd->mSpan->mHasNonemptyContent;
|
||||
} else {
|
||||
isEmpty = pfd->mFrame->IsEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user