Bug#416124: mozilla-browser: problem when accessing select box with
javascript
Mike Hommey
mh at glandium.org
Sun Mar 25 09:28:59 CET 2007
On Sun, Mar 25, 2007 at 03:01:55AM +0200, Caspar Bothmer <caspar-debian at cbothmer.org> wrote:
> Package: mozilla-browser
> Version: 2:1.7.8-1sarge10
>
> I have a list of options, one of these is selected. Under certain
> conditions I want to restrict access to the values above this selected
> option. I can restrict this and almost everything works well, but one
> thing doesn't. I will describe my problem with the demo code given. It
> is attached to this bug report.
>
> As the list of options I have the sequence of "1" to "8", with "4" selected.
>
> When I use <cursor up>, the option "3" is shown shortly before it is
> reset to "4". When I use <cursor up> again, the option "2" is shown
> shortly before it is reset to "4". That shouldn't happen, "2" should
> never be reached this way. Now, when I use <cursor down> to select "5",
> I don't get "5", but "3" is shown shortly, before it is set to "4".
> When I use <cursor down> again, nothing happens, and the next <cursor
> down> shows "5", as it should have shown in the first time. It's as if
> an internal counter counts down to "2" and first needs to count up to
> "4" again, before it can count to "5". As I reset the list to "4" each
> time, there should be "5" immediately. This behaviour is broken.
>
> I tried to eliminate this by setting the selected property of all list
> items to "false" but the one I want to have selected. I checked with
> selectedIndex and the settings are as I want them to be.
Does it happen with iceape or epiphany/galeon/kazehakase from testing ?
Mike
More information about the pkg-mozilla-maintainers
mailing list