[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2005-03-17 20:28:09
Message-ID: 20050317202809.9771016F45 () office ! kde ! org
[Download RAW message or body]

CVS commit by savernik: 

Fixed repaints of inline elements with top or bottom padding by calculating the
total height correctly.

Will be backported to 3.4.1

BUG: 100779


  M +5 -0      ChangeLog   1.402
  M +1 -1      rendering/render_flow.cpp   1.363


--- kdelibs/khtml/ChangeLog  #1.401:1.402
@@ -1,2 +1,7 @@
+2005-03-17  Leo Savernik  <l.savernik@aon.at>
+
+        * rendering/render_flow.cpp (repaint): Calculate height, do not simply
+        use the bottom overflow of the root line box.
+
 2005-03-16  George Staikos  <staikos@kde.org>
 

--- kdelibs/khtml/rendering/render_flow.cpp  #1.362:1.363
@@ -241,5 +241,5 @@ void RenderFlow::repaint(bool immediate)
         containingBlock()->repaintRectangle(-ow+left, -ow+top,
                                             width()+ow*2,
-                                            (lastRoot ? lastRoot->bottomOverflow() : \
height())+ow*2, +                                            (lastRoot ? \
lastRoot->bottomOverflow() - top : height())+ow*2,  immediate);
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic