Skip to content
  • hyatt's avatar
    Numerous overflow: hidden improvements to fix espn.com. · 81607eb8
    hyatt authored
    	First stop absolute positioned overflow hidden elements
    	from growing to accommodate their overflow.  (Actually
    	absolute positioned elements should never grow to do this,
    	but fixing it for non-overflow hidden elements is hard,
    	so later.)
    
    	Second fix the render layer code to not allow background/borders
    	of the object with overflow: hidden from being clipped.  This
    	involves an extra paint step where the object paints its
    	background and borders prior to establishing the clip rect
    	for the children.  (This will also be necessary for overflow:auto
    	and overflow:scroll).
    
            * ChangeLog:
            * khtml/rendering/render_box.cpp:
            (RenderBox::getClipRect):
            (RenderBox::calcAbsoluteVertical):
            * khtml/rendering/render_layer.cpp:
            (RenderLayer::paint):
            * khtml/rendering/render_object.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    81607eb8