Changeset 147871 in webkit
- Timestamp:
- Apr 7, 2013 11:37:39 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147861 r147871 1 2013-04-07 Robert Hogan <robert@webkit.org> 2 3 table element may get larger when its contents are recreated 4 https://bugs.webkit.org/show_bug.cgi?id=111342 5 6 Reviewed by Darin Adler. 7 8 * fast/table/anonymous-table-section-removed-expected.txt: Added. 9 * fast/table/anonymous-table-section-removed.html: Added. 10 1 11 2013-04-06 Timothy Hatcher <timothy@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r147870 r147871 1 2013-04-07 Robert Hogan <robert@webkit.org> 2 3 table element may get larger when its contents are recreated 4 https://bugs.webkit.org/show_bug.cgi?id=111342 5 6 Reviewed by Darin Adler. 7 8 Remove anonymous table section wrappers when destroying their children. 9 10 Test: fast/table/anonymous-table-section-removed.html 11 12 * rendering/RenderObject.cpp: 13 (WebCore::RenderObject::destroyAndCleanupAnonymousWrappers): 14 1 15 2013-04-07 Patrick Gansterer <paroga@webkit.org> 2 16 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r147748 r147871 2556 2556 RenderObject* destroyRoot = this; 2557 2557 for (RenderObject* destroyRootParent = destroyRoot->parent(); destroyRootParent && destroyRootParent->isAnonymous(); destroyRoot = destroyRootParent, destroyRootParent = destroyRootParent->parent()) { 2558 // Currently we only remove anonymous cells' wrapperbut we should remove all unneeded2558 // Currently we only remove anonymous cells' and table sections' wrappers but we should remove all unneeded 2559 2559 // wrappers. See http://webkit.org/b/52123 as an example where this is needed. 2560 if (!destroyRootParent->isTableCell() )2560 if (!destroyRootParent->isTableCell() && !destroyRootParent->isTableSection()) 2561 2561 break; 2562 2562
Note: See TracChangeset
for help on using the changeset viewer.