From: Brad C. <bc...@bo...> - 2004-06-14 20:24:18
|
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 > |