Skip to content
  • hyatt's avatar
    Sigh. I forgot to commit the first layer fix (that has already · 7133ed22
    hyatt authored
    	been reviewed), so now this is also including that.
    
    	The first layer fix was to deal with the yale.edu crasher.
    	It involved making sure that append/remove of render object
    	trees drill down into those trees to remove/append corresponding
    	layers (instead of just checking the root of the trees).
    
    	The second fix involves making sure that cliprects are right
    	for painting backgrounds and borders of clipped objects.
    	Fixes benoit's bug.
    
            Reviewed by: mjs and darin (fix 1), mjs and gramps (fix 2)
    
            * khtml/rendering/render_container.cpp:
            (RenderContainer::removeChildNode):
            (RenderContainer::appendChildNode):
            (RenderContainer::insertChildNode):
            * khtml/rendering/render_container.h:
            * khtml/rendering/render_layer.cpp:
            (RenderLayer::paint):
            (RenderLayer::constructZTree):
            * khtml/rendering/render_layer.h:
            * khtml/rendering/render_object.cpp:
            (RenderObject::appendLayers):
            (RenderObject::removeLayers):
            (RenderObject::enclosingLayer):
            * khtml/rendering/render_object.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7133ed22