|
From: Brad C. <bc...@bo...> - 2004-06-14 21:03:47
|
OK, that's just weird :)
Please log a bug on the sourceforge project page so I don't forget (the fix
is like 2 lines but the tests will take more time than I have right now).
Brad C
At 03:44 PM 6/14/2004, you wrote:
>Here's an example:
>
>1
>I forgot to specify that the size attribute must be > 1.
>
>Mike Bresnahan
>
>Quoting Brad Clarke <bc...@bo...>:
>
> > IE6 and Mozilla 1.6 both select the first option for me. Could you make an
> > example HTML page that shows this?
> >
> > Brad C
> >
> > At 02:52 PM 6/14/2004, you wrote:
> >
> > >The function
> > >com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions()
> > >returns a 1-element array containing the first option when no options are
> > >marked as selected. The code that does this is near the end of the
> function
> > >and looks like this (Revision: 1.24):
> > >
> > > else {
> > > result.add(firstOption);
> > > }
> > >
> > >This behavior is not consistent with Internet Explorer 6.0 or Netscape
> > >7.1. To
> > >be consistent, the code should return a 0-element array.
> > >
> > >Mike Bresnahan
> > >
|