Closed Bug 682763 Opened 13 years ago Closed 9 years ago

Giving focus to a scrollable element fails to enable SPACE key scrolling

Categories

(Firefox :: General, defect)

6 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: xn--mlform-iua, Unassigned)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20100101 Firefox/6.0 Build ID: 20110811165603 Steps to reproduce: 1. Load test page and bring focus to the following element - EITHER by using an onLoad event OR by simply the tabulator to giv focus to it OR by pressing Ctrl-K to focus on it via the accesskey: <div tabindex="0" accesskey="k" style="overflow:scroll;"></div> 2. Press the Down arrow to see if you are able to scroll with the arrow keys. 3. Press SPACE key/SPACEbar to to see if you are able to scroll that way Actual results: * Down arrow lets you scroll. * SPACE key *doesn't* let you scroll. Expected results: Not only the Down arrow but also the SPACE key should have caused scrolling to happen For contrast, if instead of giving focus to this div element had given focus to a <frame> or a <iframe>, then SPACE key scrolling would have worked as expected. Thus, this bug prevents Firefox from imitating frames. Webkit, Chrome and IE do not have this bug.
Attachment #556456 - Attachment mime type: text/plain → text/html
OS: Mac OS X → All
Hardware: x86 → All
Attachment #556457 - Attachment mime type: text/plain → text/html
Attachment #556459 - Attachment mime type: text/plain → text/html
By the way: to click inside the <div> in order to make SPACEBAR scrollling work, has zero effect.
Attachment #556462 - Attachment mime type: text/plain → text/html
Verified on: Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110921 Firefox/9.0a1 (20110921030906) Giving focus to a scrollable element failed to enable SPACE key scrolling even when the element was a frame/iframe. This issue seems to be intermittent though. After multiple tries, the SPACE scrolling went fine once with a frame, once with a div and twice with an iframe. To verify this issue I only used the attachments from this bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: giving focus to a scrollable element that isn't a (i)frame element, fails to enable SPACE key scrolling → Giving focus to a scrollable element fails to enable SPACE key scrolling
Going through old bugs... I tested attachment 556456 [details] and managed to scroll with down arrows and space. Seems like this bug was resolved in recent versions (48.0a1 (2016-03-23)). If you still experience that bug, feel free to reopen it and provide more details
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: