Changeset 204860 in webkit


Ignore:
Timestamp:
Aug 23, 2016 2:47:20 PM (8 years ago)
Author:
Alan Bujtas
Message:

ASSERTION FAILED: hasOverflowingCell == this->hasOverflowingCell() in WebCore::RenderTableSection::computeOverflowFromCells
https://bugs.webkit.org/show_bug.cgi?id=155702
<rdar://problem/27720731>

Reviewed by David Hyatt.

Source/WebCore:

The simplified layout path for table/section should also clear the slow path flag for visual overflow (since it recomputes
the overflow for the descendant cells).

Test: fast/table/assert-when-visual-overflow-is-cleared.html

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::layout):

LayoutTests:

  • fast/table/assert-when-visual-overflow-is-cleared-expected.txt: Added.
  • fast/table/assert-when-visual-overflow-is-cleared.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r204853 r204860  
     12016-08-23  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: hasOverflowingCell == this->hasOverflowingCell() in WebCore::RenderTableSection::computeOverflowFromCells
     4        https://bugs.webkit.org/show_bug.cgi?id=155702
     5        <rdar://problem/27720731>
     6
     7        Reviewed by David Hyatt.
     8
     9        * fast/table/assert-when-visual-overflow-is-cleared-expected.txt: Added.
     10        * fast/table/assert-when-visual-overflow-is-cleared.html: Added.
     11
    1122016-08-23  Brady Eidson  <beidson@apple.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r204858 r204860  
     12016-08-23  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: hasOverflowingCell == this->hasOverflowingCell() in WebCore::RenderTableSection::computeOverflowFromCells
     4        https://bugs.webkit.org/show_bug.cgi?id=155702
     5        <rdar://problem/27720731>
     6
     7        Reviewed by David Hyatt.
     8
     9        The simplified layout path for table/section should also clear the slow path flag for visual overflow (since it recomputes
     10        the overflow for the descendant cells).
     11
     12        Test: fast/table/assert-when-visual-overflow-is-cleared.html
     13
     14        * rendering/RenderTableSection.cpp:
     15        (WebCore::RenderTableSection::layout):
     16
    1172016-08-23  Myles C. Maxfield  <mmaxfield@apple.com>
    218
  • trunk/Source/WebCore/rendering/RenderTableSection.cpp

    r203708 r204860  
    374374    ASSERT(!table()->needsSectionRecalc());
    375375
     376    m_forceSlowPaintPathWithOverflowingCell = false;
    376377    // addChild may over-grow m_grid but we don't want to throw away the memory too early as addChild
    377378    // can be called in a loop (e.g during parsing). Doing it now ensures we have a stable-enough structure.
Note: See TracChangeset for help on using the changeset viewer.