[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:22:27 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 1e3ce07cd25522a7e27a9bbd681695420eee3d23
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 29 00:26:58 2003 +0000

    	Fix for 3155209, dashed-line schmutz left behind when dragging
    	links.
    
    	Also porting a fix from the old table code to the new table code
    	that I missed.
    
            Reviewed by darin
    
            * khtml/rendering/render_object.cpp:
            (RenderObject::setStyle):
            * khtml/rendering/render_table.cpp:
            (RenderTable::layout):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index e50cc03..03f06f6 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,18 @@
+2003-01-28  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3155209, dashed-line schmutz left behind when dragging
+	links.  
+
+	Also porting a fix from the old table code to the new table code
+	that I missed.
+	
+        Reviewed by darin
+
+        * khtml/rendering/render_object.cpp:
+        (RenderObject::setStyle):
+        * khtml/rendering/render_table.cpp:
+        (RenderTable::layout):
+
 2003-01-27  David Hyatt  <hyatt at apple.com>
 
 	New implementation of determineParseMode that is much better
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index e50cc03..03f06f6 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,18 @@
+2003-01-28  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3155209, dashed-line schmutz left behind when dragging
+	links.  
+
+	Also porting a fix from the old table code to the new table code
+	that I missed.
+	
+        Reviewed by darin
+
+        * khtml/rendering/render_object.cpp:
+        (RenderObject::setStyle):
+        * khtml/rendering/render_table.cpp:
+        (RenderTable::layout):
+
 2003-01-27  David Hyatt  <hyatt at apple.com>
 
 	New implementation of determineParseMode that is much better
diff --git a/WebCore/khtml/rendering/render_object.cpp b/WebCore/khtml/rendering/render_object.cpp
index 6c25c2b..2236add 100644
--- a/WebCore/khtml/rendering/render_object.cpp
+++ b/WebCore/khtml/rendering/render_object.cpp
@@ -824,6 +824,12 @@ void RenderObject::setStyle(RenderStyle *style)
         return;
 
     RenderStyle::Diff d = m_style ? m_style->diff( style ) : RenderStyle::Layout;
+
+    if (m_style && m_parent && d >= RenderStyle::Visible)
+        // Do a repaint with the old style first, e.g., for example if we go from
+        // having an outline to not having an outline.
+        repaint();
+        
     if (isFloating() || isPositioned()) {
         // For changes in float or position, we need to conceivably remove ourselves
         // from the special objects list.
diff --git a/WebCore/khtml/rendering/render_table.cpp b/WebCore/khtml/rendering/render_table.cpp
index 5f9df4c..92b4961 100644
--- a/WebCore/khtml/rendering/render_table.cpp
+++ b/WebCore/khtml/rendering/render_table.cpp
@@ -261,7 +261,7 @@ void RenderTable::layout()
 
     RenderObject *child = firstChild();
     while( child ) {
-	if ( !child->layouted() )
+	if ( !child->layouted() && !(child->element() && child->element()->id() == ID_FORM))
 	    child->layout();
 	if ( child->isTableSection() ) {
 	    static_cast<RenderTableSection *>(child)->calcRowHeight();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list