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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user