Changeset 106228 in webkit
- Timestamp:
- Jan 30, 2012 3:32:20 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106227 r106228 1 2012-01-30 Shinya Kawanaka <shinyak@google.com> 2 3 No need to keep anonymous RenderBlock in DETAILS. 4 https://bugs.webkit.org/show_bug.cgi?id=77322 5 6 Reviewed by Hajime Morita. 7 8 Anonymous RenderBlock of DETAILS element was not squashed when detaching them. 9 However, it should be removed. 10 11 No new tests. Should be covered by existing tests. 12 13 * rendering/RenderBlock.cpp: 14 (WebCore::canMergeContiguousAnonymousBlocks): 15 1 16 2012-01-30 Zoltan Herczeg <zherczeg@webkit.org> 2 17 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r106150 r106228 1000 1000 if (oldChild->documentBeingDestroyed() || oldChild->isInline() || oldChild->virtualContinuation()) 1001 1001 return false; 1002 1003 #if ENABLE(DETAILS)1004 if (oldChild->parent() && oldChild->parent()->isDetails())1005 return false;1006 #endif1007 1002 1008 1003 if ((prev && (!prev->isAnonymousBlock() || toRenderBlock(prev)->continuation() || toRenderBlock(prev)->beingDestroyed()))
Note: See TracChangeset
for help on using the changeset viewer.