Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc

This commit is contained in:
mats.palmgren@bredband.net
2006-08-17 13:15:26 +00:00
parent 7e79034167
commit 115fd200a3
4 changed files with 2 additions and 36 deletions

View File

@@ -5879,12 +5879,6 @@ found_frame:;
printf(" prevSibling=%p deletedNextContinuation=%p\n", prevSibling, deletedNextContinuation);
#endif
if (!aDeletedFrame->IsFloatContainingBlock()) {
// Clear the float cache from placeholders that are descendants
// of aDeletedFrame (bug 337883).
line->RemovePlaceholderDescendantsOf(aDeletedFrame);
}
if (aDestroyFrames) {
aDeletedFrame->Destroy();
} else {