Fix mistake made with frameset hit testing from previous checkin.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2004 05:50:35 +0000 (05:50 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2004 05:50:35 +0000 (05:50 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/khtml/rendering/render_frames.cpp

index c1901dfaa2037e84f7feb1fd0ccd893439e25e0c..387821db1b8834ef505f1226fc9af81da94f01f7 100644 (file)
@@ -94,7 +94,7 @@ bool RenderFrameSet::nodeAtPoint(NodeInfo& info, int _x, int _y, int _tx, int _t
 
     bool inside = RenderContainer::nodeAtPoint(info, _x, _y, _tx, _ty, hitTestAction) || 
                   m_resizing || canResize(_x, _y);
-    if (inside && element() && !element()->noResize() && !info.readonly()){
+    if (inside && element() && !element()->noResize() && !info.readonly() && !info.innerNode()) {
         info.setInnerNode(element());
         info.setInnerNonSharedNode(element());
     }