Changeset 150155 in webkit
- Timestamp:
- May 15, 2013 3:59:20 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r150137 r150155 1 2013-05-15 Igor Oliveira <igor.o@sisa.samsung.com> 2 3 Implement run-in remove child cases. 4 https://bugs.webkit.org/show_bug.cgi?id=86520 5 6 Move runin to original position when sibling element is destroyed. 7 8 Reviewed by David Hyatt. 9 10 * fast/runin/runin-remove-child-simple-expected.txt: Added. 11 * fast/runin/runin-remove-child-simple.html: Added. 12 * fast/runin/runin-sibling-inline-expected.txt: Added. 13 * fast/runin/runin-sibling-inline.html: Added. 14 1 15 2013-05-15 Dongseong Hwang <dongseong.hwang@intel.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r150154 r150155 1 2013-05-15 Igor Oliveira <igor.o@sisa.samsung.com> 2 3 Implement run-in remove child cases. 4 https://bugs.webkit.org/show_bug.cgi?id=86520 5 6 Move runin to original position when sibling element is destroyed. 7 8 Reviewed by David Hyatt. 9 10 Tests: fast/runin/runin-remove-child-simple.html 11 fast/runin/runin-sibling-inline.html 12 13 * rendering/RenderBlock.cpp: 14 (WebCore::RenderBlock::willBeDestroyed): 15 (WebCore::RenderBlock::moveRunInUnderSiblingBlockIfNeeded): 16 If moveRunInUnderSiblingBlockIfNeeded is called when the sibling run-in block 17 is being destroyed, it means that the run-in is moving to original position and 18 we do not need to do nothing. 19 1 20 2013-05-15 Anders Carlsson <andersca@apple.com> 2 21 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r150140 r150155 257 257 m_beingDestroyed = true; 258 258 259 if (!documentBeingDestroyed()) { 260 if (firstChild() && firstChild()->isRunIn()) 261 moveRunInToOriginalPosition(firstChild()); 262 } 263 259 264 // Make sure to destroy anonymous children first while they are still connected to the rest of the tree, so that they will 260 265 // properly dirty line boxes that they are removed from. Effects that do :before/:after only on hover could crash otherwise. … … 1983 1988 return; 1984 1989 1990 if (toRenderBlock(curr)->beingDestroyed()) 1991 return; 1992 1985 1993 // Per CSS3, "A run-in cannot run in to a block that already starts with a 1986 1994 // run-in or that itself is a run-in".
Note: See TracChangeset
for help on using the changeset viewer.