[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:40:03 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 0db7d1492e8df058b470650777c32e0a89b175d9
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri May 2 00:12:33 2003 +0000

    	Table rows don't know their precise dimensions, so repainting
    	them fails.  For now, just make an invalidation of a table
    	row due to CSS changes invalidate the whole table.
    
    	This is what the old Safari table code used to do prior to the
    	new table code landing.
    
    	Fixes bug #3205092.
    
            Reviewed by darin/john
    
            * khtml/rendering/render_table.cpp:
            (RenderTableRow::repaint):
            * khtml/rendering/render_table.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4259 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index eda944e..e09084a 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,22 @@
 2003-05-01  David Hyatt  <hyatt at apple.com>
 
+	Table rows don't know their precise dimensions, so repainting
+	them fails.  For now, just make an invalidation of a table
+	row due to CSS changes invalidate the whole table.
+
+	This is what the old Safari table code used to do prior to the
+	new table code landing.
+
+	Fixes bug #3205092.
+	
+        Reviewed by darin/john
+
+        * khtml/rendering/render_table.cpp:
+        (RenderTableRow::repaint):
+        * khtml/rendering/render_table.h:
+
+2003-05-01  David Hyatt  <hyatt at apple.com>
+
 	Fix for 3232637, don't let generated parentless image content
 	try to do width/height/layout calculations.  It will do this
 	all anyway, when it finally gets inserted into the rendering
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index eda944e..e09084a 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,22 @@
 2003-05-01  David Hyatt  <hyatt at apple.com>
 
+	Table rows don't know their precise dimensions, so repainting
+	them fails.  For now, just make an invalidation of a table
+	row due to CSS changes invalidate the whole table.
+
+	This is what the old Safari table code used to do prior to the
+	new table code landing.
+
+	Fixes bug #3205092.
+	
+        Reviewed by darin/john
+
+        * khtml/rendering/render_table.cpp:
+        (RenderTableRow::repaint):
+        * khtml/rendering/render_table.h:
+
+2003-05-01  David Hyatt  <hyatt at apple.com>
+
 	Fix for 3232637, don't let generated parentless image content
 	try to do width/height/layout calculations.  It will do this
 	all anyway, when it finally gets inserted into the rendering
diff --git a/WebCore/khtml/rendering/render_table.cpp b/WebCore/khtml/rendering/render_table.cpp
index 8952058..2e1dfa4 100644
--- a/WebCore/khtml/rendering/render_table.cpp
+++ b/WebCore/khtml/rendering/render_table.cpp
@@ -1391,6 +1391,15 @@ void RenderTableRow::layout()
     setLayouted();
 }
 
+void RenderTableRow::repaint(bool immediate)
+{
+    // For now, just repaint the whole table.
+    // FIXME: Find a better way to do this.
+    RenderTable* parentTable = table();
+    if (parentTable)
+        parentTable->repaint(immediate);
+}
+
 // -------------------------------------------------------------------------
 
 RenderTableCell::RenderTableCell(DOM::NodeImpl* _node)
diff --git a/WebCore/khtml/rendering/render_table.h b/WebCore/khtml/rendering/render_table.h
index 98f3c5a..25a1e11 100644
--- a/WebCore/khtml/rendering/render_table.h
+++ b/WebCore/khtml/rendering/render_table.h
@@ -283,7 +283,8 @@ public:
     virtual void position(int, int, int, int, int, bool, bool, int) {}
 
     virtual void layout();
-
+    virtual void repaint(bool immediate=false);
+    
     RenderTable *table() const { return static_cast<RenderTable *>(parent()->parent()); }
     RenderTableSection *section() const { return static_cast<RenderTableSection *>(parent()); }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list