Skip to content
  • hyatt's avatar
    Fixed for tables. Make the percentage height calculation · eb6ee89e
    hyatt authored
    	more robust.  Also add a hack for replaced elements to
    	subtract out their margins when computing percentage widths.
    	This keeps them from spilling out of table cells.
    
            * khtml/rendering/render_box.cpp:
            (RenderBox::calcReplacedWidth):
            (RenderBox::calcReplacedHeight):
            * khtml/rendering/render_table.cpp:
            (RenderTable::layoutRows):
            * khtml/xml/dom_nodeimpl.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    eb6ee89e