Commit 0baf37ce authored by aroben's avatar aroben

Restore MouseEventWithHitTestResults::targetNode's old behavior

Reviewed by Mark.

Fixes fast/images/imagemap-case and fast/replace/image-map.

* page/MouseEventWithHitTestResults.cpp:
(WebCore::MouseEventWithHitTestResults::targetNode): Use the inner
node, not the inner non-shared node.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fa828eca
2007-07-04 Adam Roben <aroben@apple.com>
Restore MouseEventWithHitTestResults::targetNode's old behavior
Reviewed by Mark.
Fixes fast/images/imagemap-case and fast/replace/image-map.
* page/MouseEventWithHitTestResults.cpp:
(WebCore::MouseEventWithHitTestResults::targetNode): Use the inner
node, not the inner non-shared node.
2007-07-04 Adam Roben <aroben@apple.com>
Mac, Qt, and Gdk build fixes.
......@@ -45,7 +45,7 @@ MouseEventWithHitTestResults::MouseEventWithHitTestResults(const PlatformMouseEv
Node* MouseEventWithHitTestResults::targetNode() const
{
Node* node = m_hitTestResult.innerNonSharedNode();
Node* node = m_hitTestResult.innerNode();
if (node && node->inDocument())
return node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment