Open Bug 391888 Opened 18 years ago Updated 3 years ago

Shift+click in a multiple select list only handles clicks on <option>s

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: compat, testcase)

Attachments

(2 files)

SHIFT+click in a multiple select list only handles clicks on <option>s. For compatibility with other UAs[1] we should accept all clicks within the padding area, eg. on <optgroup> labels. Would should redirect such clicks to the <option> closest to the event point, in the direction of the selection start. [1] IE7, Opera 9.20, Webkit/Safari STEPS TO REPRODUCE 1. load the attached testcase 2. in the upper left list click "One" 3. Shift+click on "Group 2" ACTUAL RESULT nothing happens in 3 EXPECTED RESULT selection is extended to be "One" .. "Three" STEPS TO REPRODUCE #2 1. load the attached testcase 2. in the upper left list click "Six" 3. Shift+click on "Two" 4. Shift+click on "Group 2" ACTUAL RESULT #2 nothing happens in 4 EXPECTED RESULT #2 selection becomes "Six" .. "Five", with focus ring around "Four"
Attached file Testcase #1
Attached patch WIPSplinter Review
(This patch also includes the patch for bug 381982.) This patch accepts clicks in the top/bottom padding area for Shift+click, but not in the left/right padding for consistency with non-Shift click.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: MatsPalmgren_bugz → nobody
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: