Closed Bug 445518 Opened 16 years ago Closed 16 years ago

snav: impossible to open <select name="dropdown"> widget

Categories

(Toolkit Graveyard :: Spatial Navigation, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wildriding, Assigned: dougt)

References

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a1pre) Gecko/2008071610 Minefield/3.1a1pre Build Identifier: simple testcase attached Reproducible: Always Steps to Reproduce: 1. select dropdown list on the page 2. try to open it (logicaly should be ENTER) Actual Results: nothing happened Expected Results: dropdown list opened
Attached file testxase (deleted) —
Attached patch patch v.1 (deleted) — Splinter Review
Assignee: nobody → doug.turner
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #329872 - Flags: review?(gavin.sharp)
Comment on attachment 329872 [details] [diff] [review] patch v.1 >diff --git a/toolkit/spatial-navigation/SpatialNavigation.js b/toolkit/spatial-navigation/SpatialNavigation.js >+ if (event.keyCode == event.DOM_VK_DOWN ) { >+ if (event.target.length - event.target.selectedIndex != 1) uber-nit (because I know you love them so much): I find this easier to read with the selectedIndex on the other side of the comparison might also be nice to put event.target in a local variable given the number of times it's referred to.
Attachment #329872 - Flags: review?(gavin.sharp) → review+
the attached mochitest fails during automation. I think it is due to the test harness adding extra "targetable" areas in the <body>. Need to investigate.
fd1c0f6abf6d (the test case was fixed by using timeouts.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Now it's possible to focus select element and go through options and that's nice BUT how about drop-down behavior. For now drop-down list doesn't look like drop-down. Is this target behavior?
antonr, that is a separate bug. feel free to file it, or I can.
Blocks: 449204
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: