mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Clear first-letter ok style at the right time
This commit is contained in:
parent
457a1555e7
commit
e83d736b28
@ -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…
Reference in New Issue
Block a user