Closed Bug 660396 Opened 13 years ago Closed 13 years ago

When focus is on a checkbox, pressing space must (un)tick it *without* scrolling down

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 313685

People

(Reporter: nicolas.barbulesco, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Pressing space scrolls down. Nice.

But in this page:
www.w3schools.com/html/html_forms.asp
I click on a checkbox, then I press space: this (un)ticks the checkbox, without scrolling down. This is OK. The checkbox is not dotted in that ugly Windows style, but it has the focus.

So far, so good.

But in the Mozilla Bugzilla voting page, strangely, things happen differently:
To see the problem happening, go to the Mozilla Bugzilla page of this
bug (starting with "https://bugzilla.mozilla.org/") and vote for it!
I click on the checkbox, then I press space: this (un)ticks the checkbox *and* scrolls down. This is not OK. The checkbox is dotted in that ugly Windows style, which means that it has the focus.



Reproducible: Always

Steps to Reproduce:
See in "Details".


Actual Results:  
See in "Details".


Expected Results:  
See in "Details".


Firefox 4.0.1 Windows.
Attached file sample html
Reproduced.
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a2) Gecko/20110527 Firefox/6.0a2
Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110527 Firefox/7.0a1

And I agree, this looks like a dupe of bug 313685. Both the testcase in attachment 535821 [details] and the Bugzilla voting page have check boxes as a children of <a> as described in bug 313685.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
OS: Windows Vista → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: