[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:51:29 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 7de01ae820fb95ce78fc2a8b4643829aa34c0698
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Oct 20 23:18:56 2002 +0000
Partial fix for:
3023814 - contexual menus and dragging doesn't work for some images
The image map case is still broken because I need to find a way to get the RenderImage for an AREA node. Anyone know how?
* kwq/KWQDOMNode.cpp:
(isImage): Also return true if the node is an INPUT tag with TYPE set to "image"
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 1d25a75..e28966f 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,13 @@
+2002-10-20 Chris Blumenberg <cblu at apple.com>
+
+ Partial fix for:
+ 3023814 - contexual menus and dragging doesn't work for some images
+
+ The image map case is still broken because I need to find a way to get the RenderImage for an AREA node. Anyone know how?
+
+ * kwq/KWQDOMNode.cpp:
+ (isImage): Also return true if the node is an INPUT tag with TYPE set to "image"
+
2002-10-20 Darin Adler <darin at apple.com>
- fixed 3076390 -- crash in DOM::DocumentImpl::setParsing loading thread detail page
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 1d25a75..e28966f 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2002-10-20 Chris Blumenberg <cblu at apple.com>
+
+ Partial fix for:
+ 3023814 - contexual menus and dragging doesn't work for some images
+
+ The image map case is still broken because I need to find a way to get the RenderImage for an AREA node. Anyone know how?
+
+ * kwq/KWQDOMNode.cpp:
+ (isImage): Also return true if the node is an INPUT tag with TYPE set to "image"
+
2002-10-20 Darin Adler <darin at apple.com>
- fixed 3076390 -- crash in DOM::DocumentImpl::setParsing loading thread detail page
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 1d25a75..e28966f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2002-10-20 Chris Blumenberg <cblu at apple.com>
+
+ Partial fix for:
+ 3023814 - contexual menus and dragging doesn't work for some images
+
+ The image map case is still broken because I need to find a way to get the RenderImage for an AREA node. Anyone know how?
+
+ * kwq/KWQDOMNode.cpp:
+ (isImage): Also return true if the node is an INPUT tag with TYPE set to "image"
+
2002-10-20 Darin Adler <darin at apple.com>
- fixed 3076390 -- crash in DOM::DocumentImpl::setParsing loading thread detail page
diff --git a/WebCore/kwq/KWQDOMNode.cpp b/WebCore/kwq/KWQDOMNode.cpp
index 093ac66..bd0b944 100644
--- a/WebCore/kwq/KWQDOMNode.cpp
+++ b/WebCore/kwq/KWQDOMNode.cpp
@@ -25,10 +25,23 @@
#include "KWQDOMNode.h"
-#include <htmltags.h>
+#include <dom_elementimpl.h>
#include <dom_nodeimpl.h>
+#include <htmlattrs.h>
+#include <htmltags.h>
bool isImage(DOM::NodeImpl *node)
{
- return node->id() == ID_IMG;
+ int id = node->id();
+
+ if(node->id() == ID_IMG){
+ return true;
+ }else if(node->id() == ID_INPUT){
+ ElementImpl* i = static_cast<ElementImpl*>(node);
+ if(i->getAttribute(ATTR_TYPE) == "image"){
+ return true;
+ }
+ }
+
+ return false;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list