Changeset 107334 in webkit
- Timestamp:
- Feb 9, 2012, 5:58:36 PM (15 years ago)
- Location:
- branches/chromium/963
- Files:
-
- 1 edited
- 2 copied
-
LayoutTests/fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash-expected.txt (copied) (copied from trunk/LayoutTests/fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash-expected.txt )
-
LayoutTests/fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash.html (copied) (copied from trunk/LayoutTests/fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash.html )
-
Source/WebCore/rendering/RenderBlock.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/963/Source/WebCore/rendering/RenderBlock.cpp
r107333 r107334 1024 1024 parent->setNeedsLayoutAndPrefWidthsRecalc(); 1025 1025 parent->setChildrenInline(child->childrenInline()); 1026 RenderObject* nextSibling = child->nextSibling(); 1026 1027 RenderBlock* anonBlock = toRenderBlock(parent->children()->removeChildNode(parent, child, child->hasLayer())); 1027 anonBlock->moveAllChildrenTo(parent, child->hasLayer());1028 anonBlock->moveAllChildrenTo(parent, nextSibling, child->hasLayer()); 1028 1029 // Delete the now-empty block's lines and nuke it. 1029 1030 if (!parent->documentBeingDestroyed()) … … 1089 1090 // box. 1090 1091 collapseAnonymousBoxChild(this, child); 1091 } else if (( prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) {1092 } else if (((prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) && !isFlexibleBoxIncludingDeprecated()) { 1092 1093 // It's possible that the removal has knocked us down to a single anonymous 1093 1094 // block with pseudo-style element siblings (e.g. first-letter). If these
Note:
See TracChangeset
for help on using the changeset viewer.