Changeset 144837 in webkit


Ignore:
Timestamp:
Mar 5, 2013 3:59:52 PM (11 years ago)
Author:
eae@chromium.org
Message:

ASSERTION FAILED: i < size(), UNKNOWN in WebCore::RenderTableSection::layout
https://bugs.webkit.org/show_bug.cgi?id=108838

Source/WebCore:

Reviewed by Levi Weintraub.

Ensure that RenderTable::recalcSections is called when moving a
TableSection by calling setNeedsSectionRecalc in addChild for
TableSections.

Test: fullscreen/full-screen-table-section.html

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::addChild):

LayoutTests:

Reviewed by Levi Weintraub.

Add test for calling requestFullscreen on an element with a
table-section display type.

  • fullscreen/full-screen-table-section-expected.txt: Added.
  • fullscreen/full-screen-table-section.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r144835 r144837  
     12013-03-05  Emil A Eklund  <eae@chromium.org>
     2
     3        ASSERTION FAILED: i < size(), UNKNOWN in WebCore::RenderTableSection::layout
     4        https://bugs.webkit.org/show_bug.cgi?id=108838
     5
     6        Reviewed by Levi Weintraub.
     7       
     8        Add test for calling requestFullscreen on an element with a
     9        table-section display type.
     10
     11        * fullscreen/full-screen-table-section-expected.txt: Added.
     12        * fullscreen/full-screen-table-section.html: Added.
     13
    1142013-03-05  Roger Fong  <roger_fong@apple.com>
    215
  • trunk/Source/WebCore/ChangeLog

    r144833 r144837  
     12013-03-05  Emil A Eklund  <eae@chromium.org>
     2
     3        ASSERTION FAILED: i < size(), UNKNOWN in WebCore::RenderTableSection::layout
     4        https://bugs.webkit.org/show_bug.cgi?id=108838
     5
     6        Reviewed by Levi Weintraub.
     7       
     8        Ensure that RenderTable::recalcSections is called when moving a
     9        TableSection by calling setNeedsSectionRecalc in addChild for
     10        TableSections.
     11
     12        Test: fullscreen/full-screen-table-section.html
     13
     14        * rendering/RenderTable.cpp:
     15        (WebCore::RenderTable::addChild):
     16
    1172013-03-05  Kenneth Russell  <kbr@google.com>
    218
  • trunk/Source/WebCore/rendering/RenderTable.cpp

    r144350 r144837  
    154154    else
    155155        wrapInAnonymousSection = true;
     156
     157    if (child->isTableSection())
     158        setNeedsSectionRecalc();
    156159
    157160    if (!wrapInAnonymousSection) {
Note: See TracChangeset for help on using the changeset viewer.