Changeset 176732 in webkit
- Timestamp:
- Dec 3, 2014, 11:55:42 AM (12 years ago)
- Location:
- branches/safari-600.3-branch
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/block/selection-block-gap-crash-expected.txt (added)
-
LayoutTests/fast/block/selection-block-gap-crash.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderBlock.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.3-branch/LayoutTests/ChangeLog
r176291 r176732 1 2014-12-03 Dana Burkart <dburkart@apple.com> 2 3 Merge r176295. <rdar://problem/19122588> 4 5 2014-11-18 David Hyatt <hyatt@apple.com> 6 7 REGRESSION (r167210): Invalid cast in WebCore::RenderBlock::blockSelectionGaps 8 https://bugs.webkit.org/show_bug.cgi?id=137590 9 10 Reviewed by Dean Jackson. 11 12 * fast/block/selection-block-gap-crash-expected.txt: Added. 13 * fast/block/selection-block-gap-crash.html: Added. 14 15 1 16 2014-11-05 Simon Fraser <simon.fraser@apple.com> 2 17 -
branches/safari-600.3-branch/Source/WebCore/ChangeLog
r176730 r176732 1 2014-12-03 Dana Burkart <dburkart@apple.com> 2 3 Merge r176295. <rdar://problem/19122588> 4 5 2014-11-18 David Hyatt <hyatt@apple.com> 6 7 REGRESSION (r167210): Invalid cast in WebCore::RenderBlock::blockSelectionGaps 8 https://bugs.webkit.org/show_bug.cgi?id=137590 9 10 Reviewed by Dean Jackson. 11 12 Added fast/block/selection-block-gaps-crash.html 13 14 * rendering/RenderBlock.cpp: 15 (WebCore::RenderBlock::blockSelectionGaps): 16 Check that we really are a RenderBlock before recurring. 17 18 1 19 2014-12-03 Dana Burkart <dburkart@apple.com> 2 20 -
branches/safari-600.3-branch/Source/WebCore/rendering/RenderBlock.cpp
r170871 r176732 2040 2040 lastLogicalLeft = logicalLeftSelectionOffset(rootBlock, curr->logicalBottom(), cache); 2041 2041 lastLogicalRight = logicalRightSelectionOffset(rootBlock, curr->logicalBottom(), cache); 2042 } else if (childState != SelectionNone ) {2042 } else if (childState != SelectionNone && is<RenderBlock>(*curr)) { 2043 2043 // We must be a block that has some selected object inside it. Go ahead and recur. 2044 2044 result.unite(toRenderBlock(curr)->selectionGaps(rootBlock, rootBlockPhysicalPosition, LayoutSize(offsetFromRootBlock.width() + curr->x(), offsetFromRootBlock.height() + curr->y()),
Note:
See TracChangeset
for help on using the changeset viewer.