Fix for 3915787, macobserver doesn't paint. floatRect() needed to be const in the...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2004 22:59:48 +0000 (22:59 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2004 22:59:48 +0000 (22:59 +0000)
commit6279c4f9bd35ef40c4598020e205e6c59a8ae9cf
treef9d567544241d56a0b265804efb644385ace12f0
parent67f04ab07ec086d386b33a3efc76592b7e862140
Fix for 3915787, macobserver doesn't paint.  floatRect() needed to be const in the base class.  Also hit-testing
and painting was using the wrong rect when setting up the x/y of the rect.

        Reviewed by mjs

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::paint):
        (khtml::RenderBlock::nodeAtPoint):
        * khtml/rendering/render_object.h:
        (khtml::RenderObject::floatRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_block.cpp
WebCore/khtml/rendering/render_object.h