[Webkit-unassigned] [Bug 13812] Autoscroll in nested frames scrolls the wrong frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 26 08:10:39 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13812





------- Comment #10 from staikos at kde.org  2007-05-26 08:10 PDT -------
(In reply to comment #5)
> (From update of attachment 14655 [edit])
> In EventHandler::handleMouseDraggedEvent, you should be hitting a renderer
> within the iframe.  Then it will walk up the render tree until you find the
> root element, and it will scroll that.  If you correctly hit inside the iframe,
> then I don't think you should need this change.
> 

In fact this is the case but it's still not scrolling properly for me.  It is
hitting the <HTML> node within the frame, which is what you describe should
happen.  However it still sometimes sends the scroll up to the parent frame. 
Testcase:

<iframe src="text.html">  (positioned as described

text.html:
this is a test this is a test this is a test<br>
this is a test this is a test this is a test<br>
this is a test this is a test this is a test<br>
this is a test this is a test this is a test<br>
(repeated many times)


I think maybe I have misdiagnosed the problem though.  it doesn't -always-
scroll the wrong frame.  I think it has to do with over-dragging (ie: dragging
past the edge of the frame during scroll)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list