[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:11:57 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 444581055e02a2f8cf5b2efc04173000bb2b2549
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 6 00:37:16 2002 +0000

    	Fix relative positioned elements to add in the right offset
    	when repainting themselves.
    
            Reviewed by: darin
    
            * khtml/rendering/render_box.cpp:
            (RenderBox::repaintRectangle):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index c464116..dff4448 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2002-12-05  David Hyatt  <hyatt at apple.com>
+
+	Fix relative positioned elements to add in the right offset
+	when repainting themselves.
+	
+        Reviewed by: darin
+
+        * khtml/rendering/render_box.cpp:
+        (RenderBox::repaintRectangle):
+
 2002-12-05  Richard Williamson   <rjw at apple.com>
 
         Fixed two issues relating to font sizes.  Fixes any page
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index c464116..dff4448 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2002-12-05  David Hyatt  <hyatt at apple.com>
+
+	Fix relative positioned elements to add in the right offset
+	when repainting themselves.
+	
+        Reviewed by: darin
+
+        * khtml/rendering/render_box.cpp:
+        (RenderBox::repaintRectangle):
+
 2002-12-05  Richard Williamson   <rjw at apple.com>
 
         Fixed two issues relating to font sizes.  Fixes any page
diff --git a/WebCore/khtml/rendering/render_box.cpp b/WebCore/khtml/rendering/render_box.cpp
index abbcd26..9f404c2 100644
--- a/WebCore/khtml/rendering/render_box.cpp
+++ b/WebCore/khtml/rendering/render_box.cpp
@@ -436,9 +436,16 @@ void RenderBox::repaintRectangle(int x, int y, int w, int h, bool immediate, boo
 {
     x += m_x;
     y += m_y;
-
+    
+    // Apply the relative position offset when invalidating a rectangle.  The layer
+    // is translated, but the render box isn't, so we need to do this to get the
+    // right dirty rect.
+    if (isRelPositioned())
+        relativePositionOffset(x,y);
+    
     if (style()->position()==FIXED) f=true;
 
+    
     // kdDebug( 6040 ) << "RenderBox(" << renderName() << ")::repaintRectangle (" << x << "/" << y << ") (" << w << "/" << h << ")" << endl;
     RenderObject *o = container();
     if( o ) o->repaintRectangle(x, y, w, h, immediate, f);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list