Skip to content
  • adele's avatar
    LayoutTests: · cdca1364
    adele authored
            Reviewed by Hyatt.
    
            - test and updated results for
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9012
              Row height not updated when cell heights change
    
            * fast/table/row-height-recalc-expected.checksum: Added.
            * fast/table/row-height-recalc-expected.png: Added.
            * fast/table/row-height-recalc-expected.txt: Added.
            * fast/table/row-height-recalc.html: Added.
    
    WebCore:
    
            Reviewed by Hyatt.
    
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9012
              Row height not updated when cell heights change
    
            Test: fast/table/row-height-recalc.html
    
            * rendering/RenderTableCell.cpp:
            (WebCore::RenderTableCell::setStyle): Mark the section as needing recalculation
            if the height property changed.
            * rendering/RenderTableRow.cpp:
            (WebCore::RenderTableRow::setStyle): Ditto.
            * rendering/RenderTableSection.cpp:
            (WebCore::RenderTableSection::recalcCells): Initialize the grid row height
            to the height of the row element (like addChild() does).
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cdca1364