Clear first-letter ok style at the right time

This commit is contained in:
kipp%netscape.com 1999-04-29 00:16:09 +00:00
parent 457a1555e7
commit e83d736b28
2 changed files with 16 additions and 0 deletions

View File

@ -857,6 +857,14 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
else {
AddFloater((nsPlaceholderFrame*)aFrame);
}
nsIAtom* oofft;
outOfFlowFrame->GetFrameType(&oofft);
if (oofft) {
if (oofft == nsLayoutAtoms::letterFrame) {
mFirstLetterStyleOK = PR_FALSE;
}
NS_RELEASE(oofft);
}
}
}
}

View File

@ -857,6 +857,14 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
else {
AddFloater((nsPlaceholderFrame*)aFrame);
}
nsIAtom* oofft;
outOfFlowFrame->GetFrameType(&oofft);
if (oofft) {
if (oofft == nsLayoutAtoms::letterFrame) {
mFirstLetterStyleOK = PR_FALSE;
}
NS_RELEASE(oofft);
}
}
}
}