Changeset 107336 in webkit
- Timestamp:
- Feb 9, 2012, 6:13:08 PM (15 years ago)
- Location:
- branches/chromium/1025
- 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/1025/Source/WebCore/rendering/RenderBlock.cpp
r107303 r107336 1025 1025 parent->setNeedsLayoutAndPrefWidthsRecalc(); 1026 1026 parent->setChildrenInline(child->childrenInline()); 1027 RenderObject* nextSibling = child->nextSibling(); 1027 1028 RenderBlock* anonBlock = toRenderBlock(parent->children()->removeChildNode(parent, child, child->hasLayer())); 1028 anonBlock->moveAllChildrenTo(parent, child->hasLayer());1029 anonBlock->moveAllChildrenTo(parent, nextSibling, child->hasLayer()); 1029 1030 // Delete the now-empty block's lines and nuke it. 1030 1031 if (!parent->documentBeingDestroyed()) … … 1090 1091 // box. 1091 1092 collapseAnonymousBoxChild(this, child); 1092 } else if (( prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) {1093 } else if (((prev && prev->isAnonymousBlock()) || (next && next->isAnonymousBlock())) && !isFlexibleBoxIncludingDeprecated()) { 1093 1094 // It's possible that the removal has knocked us down to a single anonymous 1094 1095 // block with pseudo-style element siblings (e.g. first-letter). If these
Note:
See TracChangeset
for help on using the changeset viewer.