[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:27:02 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 057461e51845e34e157dad9edd3212d9c41bf0d5
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Mar 4 00:13:15 2003 +0000
Clean up dynamic ID/CLASS setting/removal. Make ID actually
work when set dynamically. Fixes bug 3173050.
Reviewed by john
* khtml/html/html_elementimpl.cpp:
(HTMLElementImpl::parseAttribute):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index db127af..6eb9f68 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-03-03 David Hyatt <hyatt at apple.com>
+
+ Clean up dynamic ID/CLASS setting/removal. Make ID actually
+ work when set dynamically. Fixes bug 3173050.
+
+ Reviewed by john
+
+ * khtml/html/html_elementimpl.cpp:
+ (HTMLElementImpl::parseAttribute):
+
2003-03-03 Darin Adler <darin at apple.com>
Reviewed by Dave.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index db127af..6eb9f68 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2003-03-03 David Hyatt <hyatt at apple.com>
+
+ Clean up dynamic ID/CLASS setting/removal. Make ID actually
+ work when set dynamically. Fixes bug 3173050.
+
+ Reviewed by john
+
+ * khtml/html/html_elementimpl.cpp:
+ (HTMLElementImpl::parseAttribute):
+
2003-03-03 Darin Adler <darin at apple.com>
Reviewed by Dave.
diff --git a/WebCore/khtml/html/html_elementimpl.cpp b/WebCore/khtml/html/html_elementimpl.cpp
index 9ed54c5..09f8eae 100644
--- a/WebCore/khtml/html/html_elementimpl.cpp
+++ b/WebCore/khtml/html/html_elementimpl.cpp
@@ -121,13 +121,12 @@ void HTMLElementImpl::parseAttribute(AttributeImpl *attr)
// the core attributes...
case ATTR_ID:
// unique id
- setHasID();
+ setHasID(attr->val());
+ setChanged();
break;
case ATTR_CLASS:
// class
- if (attr->val())
- setHasClass();
- else m_hasClass = false;
+ setHasClass(attr->val());
setChanged();
break;
case ATTR_STYLE:
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list