Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc

This commit is contained in:
mats.palmgren%bredband.net 2006-08-25 04:17:41 +00:00
Родитель 196a357bca
Коммит d246a69ba0
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -4871,10 +4871,10 @@ nsBlockFrame::HandleOverflowPlaceholdersForPulledFrame(
nsBlockReflowState& aState, nsIFrame* aFrame)
{
if (nsLayoutAtoms::placeholderFrame != aFrame->GetType()) {
// Check the in-flow inline children. We should encounter only
// first-in-flow placeholders, so the frame subtree rooted at
// aFrame should not change.
if (!aFrame->GetStyleDisplay()->IsBlockLevel()) {
// Descend into children that are not float containing blocks.
// We should encounter only first-in-flow placeholders, so the
// frame subtree rooted at aFrame should not change.
if (!aFrame->IsFloatContainingBlock()) {
for (nsIFrame* f = aFrame->GetFirstChild(nsnull); f; f = f->GetNextSibling()) {
#ifdef DEBUG
PRBool changed =