Skip to content
  • robert@webkit.org's avatar
    Growing a position:absolute element in a position:relative one in a table does... · 4c91cc94
    robert@webkit.org authored
    Growing a position:absolute element in a position:relative one in a table does not update scrollHeight
    https://bugs.webkit.org/show_bug.cgi?id=111977
    
    Reviewed by David Hyatt.
    
    Source/WebCore:
    
    During simplified layout tables still need to know about overflow from positioned objects in any of
    their cells.
    
    Test: fast/table/cell-overflow-simplified-layout.html
    
    * rendering/RenderBlock.h:
    (RenderBlock):
    * rendering/RenderTable.cpp:
    (WebCore::RenderTable::simplifiedNormalFlowLayout):
    (WebCore):
    * rendering/RenderTable.h:
    * rendering/RenderTableSection.cpp:
    (WebCore::RenderTableSection::layoutRows):
    (WebCore):
    (WebCore::RenderTableSection::computeOverflowFromCells):
    * rendering/RenderTableSection.h:
    (RenderTableSection):
    
    LayoutTests:
    
    * fast/table/cell-overflow-simplified-layout-expected.html: Added.
    * fast/table/cell-overflow-simplified-layout.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4c91cc94