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:
parent
fa9252b0f9
commit
134611a9be
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user