[whatwg] [wf2] changing the size DOM attribute of <select>

Ian Hickson ian at hixie.ch
Mon Aug 14 17:08:07 PDT 2006

On Sat, 11 Feb 2006, Anne van Kesteren wrote:
> Browsers disagree on what should be selected in such cases. Simple 
> testcase:
>  <http://webforms2.testsuite.org/controls/select/009.htm>
> Opera 9 passes that test and I heard Safari nightlies do too. Internet 
> Explorer and Firefox fail the testcase. Personally I would be in favor 
> of changing the specification to be compatible with Opera 9 and Safari 
> given that what they do is sensible.

Why should selectedIndex change when you change size?

Consider the opposite testcase:


Should TEST be selected? I'd say no. And here, should it be selected:


I'd say yes.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list