⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107336 in webkit


Ignore:
Timestamp:
Feb 9, 2012, 6:13:08 PM (15 years ago)
Author:
cevans@google.com
Message:

Merge 106744
BUG=104317
Review URL: https://chromiumcodereview.appspot.com/9374042

Location:
branches/chromium/1025
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/chromium/1025/Source/WebCore/rendering/RenderBlock.cpp

    r107303 r107336  
    10251025    parent->setNeedsLayoutAndPrefWidthsRecalc();
    10261026    parent->setChildrenInline(child->childrenInline());
     1027    RenderObject* nextSibling = child->nextSibling();
    10271028    RenderBlock* anonBlock = toRenderBlock(parent->children()->removeChildNode(parent, child, child->hasLayer()));
    1028     anonBlock->moveAllChildrenTo(parent, child->hasLayer());
     1029    anonBlock->moveAllChildrenTo(parent, nextSibling, child->hasLayer());
    10291030    // Delete the now-empty block's lines and nuke it.
    10301031    if (!parent->documentBeingDestroyed())
     
    10901091        // box.
    10911092        collapseAnonymousBoxChild(this, child);
    1092     } else if ((prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) {
     1093    } else if (((prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) && !isFlexibleBoxIncludingDeprecated()) {
    10931094        // It's possible that the removal has knocked us down to a single anonymous
    10941095        // block with pseudo-style element siblings (e.g. first-letter). If these
Note: See TracChangeset for help on using the changeset viewer.