[Webkit-unassigned] [Bug 71128] Select multiple options with mouse drag in Select element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 31 03:07:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=71128





--- Comment #9 from Rakesh <rakesh.kn at motorola.com>  2011-10-31 03:07:35 PST ---
(In reply to comment #8)
> (From update of attachment 112892 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=112892&action=review
> 
> > Source/WebCore/ChangeLog:15
> > +        Allow auto scroll to be fired if current node under mouse does not have renderer
> > +        but its container node can autoscroll and has renderer.
> 
> Please explain how this fixes the bug.

Presently we return if don't find a renderer for targetNode in EventHandler::handleMouseDraggedEvent() :

if (event.event().button() != LeftButton || !targetNode || !targetNode->renderer())

When we do a drag on the option element we don't get a renderer but as its parent(select) element has a renderer and it can scroll, we can allow auto scroll for parent.

In short, as we want to autoscroll on any renderer that is autoscrollable in its tree, allow it even when present node does not have renderer but its parent has.

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



More information about the webkit-unassigned mailing list