[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 08:26:18 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 24c1cd2e095751d9d1eaa7f5028c0ca60929f2fe
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Feb 11 22:07:42 2004 +0000
Fix the .rows and .cells arrays on tables by merging with the KHTML trunk. TH was being included
as a row instead of as a cell.
Reviewed by kocienda
* khtml/html/html_miscimpl.cpp:
(HTMLCollectionImpl::calcLength):
(HTMLCollectionImpl::getItem):
(HTMLCollectionImpl::getNamedItem):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index f83ecc6..178a6c7 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,17 @@
2004-02-11 David Hyatt <hyatt at apple.com>
+ Fix the .rows and .cells arrays on tables by merging with the KHTML trunk. TH was being included
+ as a row instead of as a cell.
+
+ Reviewed by kocienda
+
+ * khtml/html/html_miscimpl.cpp:
+ (HTMLCollectionImpl::calcLength):
+ (HTMLCollectionImpl::getItem):
+ (HTMLCollectionImpl::getNamedItem):
+
+2004-02-11 David Hyatt <hyatt at apple.com>
+
Remove my bogus refs of the elementSheet. Fixes 3554213 and 3555467.
* khtml/html/html_baseimpl.cpp:
diff --git a/WebCore/khtml/html/html_miscimpl.cpp b/WebCore/khtml/html/html_miscimpl.cpp
index f1b4e72..a94900f 100644
--- a/WebCore/khtml/html/html_miscimpl.cpp
+++ b/WebCore/khtml/html/html_miscimpl.cpp
@@ -88,14 +88,14 @@ unsigned long HTMLCollectionImpl::calcLength(NodeImpl *current) const
deep = false;
break;
case TR_CELLS:
- if(e->id() == ID_TD)
+ if(e->id() == ID_TD || e->id() == ID_TH)
len++;
else if(e->id() == ID_TABLE)
deep = false;
break;
case TABLE_ROWS:
case TSECTION_ROWS:
- if(e->id() == ID_TR || e->id() == ID_TH)
+ if(e->id() == ID_TR)
len++;
else if(e->id() == ID_TABLE)
deep = false;
@@ -173,14 +173,14 @@ NodeImpl *HTMLCollectionImpl::getItem(NodeImpl *current, int index, int &len) co
deep = false;
break;
case TR_CELLS:
- if(e->id() == ID_TD)
+ if(e->id() == ID_TD || e->id() == ID_TH)
len++;
else if(e->id() == ID_TABLE)
deep = false;
break;
case TABLE_ROWS:
case TSECTION_ROWS:
- if(e->id() == ID_TR || e->id() == ID_TH)
+ if(e->id() == ID_TR)
len++;
else if(e->id() == ID_TABLE)
deep = false;
@@ -297,14 +297,14 @@ NodeImpl *HTMLCollectionImpl::getNamedItem( NodeImpl *current, int attr_id,
deep = false;
break;
case TR_CELLS:
- if(e->id() == ID_TD)
+ if(e->id() == ID_TD || e->id() == ID_TH)
check = true;
else if(e->id() == ID_TABLE)
deep = false;
break;
case TABLE_ROWS:
case TSECTION_ROWS:
- if(e->id() == ID_TR || e->id() == ID_TH)
+ if(e->id() == ID_TR)
check = true;
else if(e->id() == ID_TABLE)
deep = false;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list