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

Changeset 176750 in webkit


Ignore:
Timestamp:
Dec 3, 2014, 12:53:49 PM (12 years ago)
Author:
Alan Bujtas
Message:

ASSERTION: RenderMultiColumnFlowThread::processPossibleSpannerDescendant() when column spanner's parent is not a RenderBlockFlow.
https://bugs.webkit.org/show_bug.cgi?id=139188
rdar://problem/18502182

Reviewed by David Hyatt.

This patch ensures that the validation check for spanner in isValidColumnSpanner() is in synch
with the expectation in RenderMultiColumnFlowThread::processPossibleSpannerDescendant().
(descendant's parent is expected to be a RenderBlockFlow)

Source/WebCore:

Test: fast/multicol/svg-content-as-column-spanner-crash.html

  • rendering/RenderMultiColumnFlowThread.cpp:

(WebCore::isValidColumnSpanner):

LayoutTests:

  • fast/multicol/svg-content-as-column-spanner-crash-expected.txt: Added.
  • fast/multicol/svg-content-as-column-spanner-crash.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r176731 r176750  
     12014-12-03  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION: RenderMultiColumnFlowThread::processPossibleSpannerDescendant() when column spanner's parent is not a RenderBlockFlow.
     4        https://bugs.webkit.org/show_bug.cgi?id=139188
     5        rdar://problem/18502182
     6
     7        Reviewed by David Hyatt.
     8
     9        This patch ensures that the validation check for spanner in isValidColumnSpanner() is in synch
     10        with the expectation in RenderMultiColumnFlowThread::processPossibleSpannerDescendant().
     11        (descendant's parent is expected to be a RenderBlockFlow)
     12
     13        * fast/multicol/svg-content-as-column-spanner-crash-expected.txt: Added.
     14        * fast/multicol/svg-content-as-column-spanner-crash.html: Added.
     15
    1162014-12-03  Joanmarie Diggs  <jdiggs@igalia.com>
    217
  • trunk/Source/WebCore/ChangeLog

    r176748 r176750  
     12014-12-03  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION: RenderMultiColumnFlowThread::processPossibleSpannerDescendant() when column spanner's parent is not a RenderBlockFlow.
     4        https://bugs.webkit.org/show_bug.cgi?id=139188
     5        rdar://problem/18502182
     6
     7        Reviewed by David Hyatt.
     8
     9        This patch ensures that the validation check for spanner in isValidColumnSpanner() is in synch
     10        with the expectation in RenderMultiColumnFlowThread::processPossibleSpannerDescendant().
     11        (descendant's parent is expected to be a RenderBlockFlow)
     12
     13        Test: fast/multicol/svg-content-as-column-spanner-crash.html
     14
     15        * rendering/RenderMultiColumnFlowThread.cpp:
     16        (WebCore::isValidColumnSpanner):
     17
    1182014-12-03  peavo@outlook.com  <peavo@outlook.com>
    219
  • trunk/Source/WebCore/rendering/RenderMultiColumnFlowThread.cpp

    r175641 r176750  
    250250        return false;
    251251
    252     RenderBlock* container = descendant->containingBlock();
     252    RenderElement* container = descendant->parent();
    253253    if (!is<RenderBlockFlow>(*container) || container->childrenInline()) {
    254254        // Needs to be block-level.
Note: See TracChangeset for help on using the changeset viewer.