⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176732 in webkit


Ignore:
Timestamp:
Dec 3, 2014, 11:55:42 AM (12 years ago)
Author:
dburkart@apple.com
Message:

Merged r176295. rdar://problems/19122588

Location:
branches/safari-600.3-branch
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-600.3-branch/LayoutTests/ChangeLog

    r176291 r176732  
     12014-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
    1162014-11-05  Simon Fraser  <simon.fraser@apple.com>
    217
  • branches/safari-600.3-branch/Source/WebCore/ChangeLog

    r176730 r176732  
     12014-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
    1192014-12-03  Dana Burkart  <dburkart@apple.com>
    220
  • branches/safari-600.3-branch/Source/WebCore/rendering/RenderBlock.cpp

    r170871 r176732  
    20402040            lastLogicalLeft = logicalLeftSelectionOffset(rootBlock, curr->logicalBottom(), cache);
    20412041            lastLogicalRight = logicalRightSelectionOffset(rootBlock, curr->logicalBottom(), cache);
    2042         } else if (childState != SelectionNone) {
     2042        } else if (childState != SelectionNone && is<RenderBlock>(*curr)) {
    20432043            // We must be a block that has some selected object inside it.  Go ahead and recur.
    20442044            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.