Changeset 171476 in webkit


Ignore:
Timestamp:
Jul 23, 2014 5:12:36 AM (10 years ago)
Author:
mihnea@adobe.com
Message:

ASSERTION FAILED: generatingElement() in WebCore::RenderNamedFlowFragment::regionOversetState
https://bugs.webkit.org/show_bug.cgi?id=135153

Reviewed by David Hyatt.

Source/WebCore:
Even though the CSSRegions spec defines the behaviour of a multicolumn region,
we currently do not support this functionality. This patch ensures that a multicolumn
element does not become a region. In the future, when we will implement the multicolumn
as region functionality, http://dev.w3.org/csswg/css-regions/#multi-column-regions, we
will remove this restriction.

Test: fast/regions/multicol-as-region-prevented.html

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::createRenderNamedFlowFragmentIfNeeded):

LayoutTests:

  • fast/regions/multicol-as-region-prevented-expected.html: Added.
  • fast/regions/multicol-as-region-prevented.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r171455 r171476  
     12014-07-23  Mihnea Ovidenie  <mihnea@adobe.com>
     2
     3        ASSERTION FAILED: generatingElement() in WebCore::RenderNamedFlowFragment::regionOversetState
     4        https://bugs.webkit.org/show_bug.cgi?id=135153
     5
     6        Reviewed by David Hyatt.
     7
     8        * fast/regions/multicol-as-region-prevented-expected.html: Added.
     9        * fast/regions/multicol-as-region-prevented.html: Added.
     10
    1112014-07-10  Radu Stavila  <stavila@adobe.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r171475 r171476  
     12014-07-23  Mihnea Ovidenie  <mihnea@adobe.com>
     2
     3        ASSERTION FAILED: generatingElement() in WebCore::RenderNamedFlowFragment::regionOversetState
     4        https://bugs.webkit.org/show_bug.cgi?id=135153
     5
     6        Reviewed by David Hyatt.
     7
     8        Even though the CSSRegions spec defines the behaviour of a multicolumn region,
     9        we currently do not support this functionality. This patch ensures that a multicolumn
     10        element does not become a region. In the future, when we will implement the multicolumn
     11        as region functionality, http://dev.w3.org/csswg/css-regions/#multi-column-regions, we
     12        will remove this restriction.
     13
     14        Test: fast/regions/multicol-as-region-prevented.html
     15
     16        * rendering/RenderBlockFlow.cpp:
     17        (WebCore::RenderBlockFlow::createRenderNamedFlowFragmentIfNeeded):
     18
    1192014-07-23  Zan Dobersek  <zdobersek@igalia.com>
    220
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r170774 r171476  
    30163016        return;
    30173017
    3018     if (style().isDisplayRegionType() && style().hasFlowFrom()) {
     3018    // FIXME: Multicolumn regions not yet supported (http://dev.w3.org/csswg/css-regions/#multi-column-regions)
     3019    if (style().isDisplayRegionType() && style().hasFlowFrom() && !style().specifiesColumns()) {
    30193020        RenderNamedFlowFragment* flowFragment = new RenderNamedFlowFragment(document(), RenderNamedFlowFragment::createStyle(style()));
    30203021        flowFragment->initializeStyle();
Note: See TracChangeset for help on using the changeset viewer.