[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 06:44:13 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6e31b7638d907b7075152b7afd1f8fc9f78a13ad
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 24 22:34:03 2002 +0000

    	Better fix.  Clears the boolean when CLASS has no value.
    	This will keep the style system from thinking you have
    	a class when you don't.
    
            * khtml/html/html_elementimpl.cpp:
            (HTMLElementImpl::parseAttribute):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index d3a1859..ed121e6 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,14 @@
 2002-09-24  David Hyatt  <hyatt at apple.com>
 
+	Better fix.  Clears the boolean when CLASS has no value.
+	This will keep the style system from thinking you have
+	a class when you don't.
+	
+        * khtml/html/html_elementimpl.cpp:
+        (HTMLElementImpl::parseAttribute):
+
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
 	Fix updating of the document's notion of the focused node
 	to happen on mouse down rather than click.  This matches
 	the behavior of all other browsers (IE, Gecko, etc.).
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index d3a1859..ed121e6 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,14 @@
 2002-09-24  David Hyatt  <hyatt at apple.com>
 
+	Better fix.  Clears the boolean when CLASS has no value.
+	This will keep the style system from thinking you have
+	a class when you don't.
+	
+        * khtml/html/html_elementimpl.cpp:
+        (HTMLElementImpl::parseAttribute):
+
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
 	Fix updating of the document's notion of the focused node
 	to happen on mouse down rather than click.  This matches
 	the behavior of all other browsers (IE, Gecko, etc.).
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index d3a1859..ed121e6 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
 2002-09-24  David Hyatt  <hyatt at apple.com>
 
+	Better fix.  Clears the boolean when CLASS has no value.
+	This will keep the style system from thinking you have
+	a class when you don't.
+	
+        * khtml/html/html_elementimpl.cpp:
+        (HTMLElementImpl::parseAttribute):
+
+2002-09-24  David Hyatt  <hyatt at apple.com>
+
 	Fix updating of the document's notion of the focused node
 	to happen on mouse down rather than click.  This matches
 	the behavior of all other browsers (IE, Gecko, etc.).
diff --git a/WebCore/khtml/html/html_elementimpl.cpp b/WebCore/khtml/html/html_elementimpl.cpp
index 5578ee8..4587fa4 100644
--- a/WebCore/khtml/html/html_elementimpl.cpp
+++ b/WebCore/khtml/html/html_elementimpl.cpp
@@ -82,8 +82,10 @@ void HTMLElementImpl::parseAttribute(AttributeImpl *attr)
         break;
     case ATTR_CLASS:
         // class
-        setHasClass();
-	setChanged();
+        if (attr->val())
+            setHasClass();
+        else m_hasClass = false;
+        setChanged();
         break;
     case ATTR_STYLE:
         // ### we need to remove old style info in case there was any!

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list