[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:11:40 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit ffa1a431182a269efe681301a7dc1b3279a57f9d
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Nov 14 06:15:12 2003 +0000
Reviewed by Dave.
- fixed 3474330 -- tooltips do not work for <area> elements
* kwq/WebCoreBridge.mm: (-[WebCoreBridge elementAtPoint:]): When looking for a title, start
with innerNode (which can be an <area> inside a <map>). This matches what Mozilla does.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index d37fe62..e27abe1 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-11-13 Darin Adler <darin at apple.com>
+
+ Reviewed by Dave.
+
+ - fixed 3474330 -- tooltips do not work for <area> elements
+
+ * kwq/WebCoreBridge.mm: (-[WebCoreBridge elementAtPoint:]): When looking for a title, start
+ with innerNode (which can be an <area> inside a <map>). This matches what Mozilla does.
+
2003-11-13 Maciej Stachowiak <mjs at apple.com>
Reviewed by John.
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index a30c618..591826e 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -697,7 +697,8 @@ static HTMLFormElementImpl *formElementFromDOMElement(id <WebDOMElement>element)
forKey:WebCoreElementIsSelectedKey];
// Find the title in the nearest enclosing DOM node.
- for (NodeImpl *titleNode = nodeInfo.innerNonSharedNode(); titleNode; titleNode = titleNode->parentNode()) {
+ // For <area> tags in image maps, walk the tree for the <area>, not the <img> using it.
+ for (NodeImpl *titleNode = nodeInfo.innerNode(); titleNode; titleNode = titleNode->parentNode()) {
if (titleNode->isElementNode()) {
const DOMString title = static_cast<ElementImpl *>(titleNode)->getAttribute(ATTR_TITLE);
if (!title.isNull()) {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list