Clear first-letter ok style at the right time

git-svn-id: svn://10.0.0.236/trunk@29778 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com 1999-04-29 00:16:09 +00:00
parent fa9252b0f9
commit 134611a9be
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);
}
}
}
}