Bug 15021 - Mouse left click does not set focus to <div> with style overflow:auto
Summary: Mouse left click does not set focus to <div> with style overflow:auto
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://www.youtube.com/
Keywords: PlatformOnly
Depends on:
Blocks:
 
Reported: 2007-08-20 08:55 PDT by Sridhar Gurivireddy
Modified: 2008-02-17 14:10 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sridhar Gurivireddy 2007-08-20 08:55:06 PDT
When a div has style "overflow:auto" and has content more than it can fit, left_clicking mouse on the <div> should set keyboard focus to the <div>. Scrolling using keyboard up and down arrow keys should scroll the div and not the main page that contains it.

Repro steps: 
1)Play any video @ youttube
2)Click on the div which shows related videos
3)press Keys "up" or "down" arrown
4) Safari scrolls main page instead of the div.
Comment 1 David Kilzer (:ddkilzer) 2007-08-20 09:20:04 PDT
Works for me with a local debug build of WebKit r25149 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).

May be a Windows-only issue.

Comment 2 Robert Blaut 2008-02-17 14:10:24 PST
I've checked the reported issue using the latest Webkit r30236 for Windows and the latest beta of Safari. Everything works correctly. So WORKSFORME