objOption.defaultSelected = true is not supported by Internet Explorer 7 and 8

 

Test passes if the pre-selected option (the highlighted one) in the above list is "Option5".

References:
defaultSelected at MSDN

DOM 1 HTML 1st edition, Interface HTMLOptionElement, defaultSelected attribute states
"defaultSelected: Stores the initial value of the selected attribute."

DOM 1 HTML 2nd edition, Interface HTMLOptionElement, defaultSelected attribute states
"defaultSelected: Represents the value of the HTML selected attribute. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes. Changing defaultSelected, however, resets the state of the form control."

DOM 2 HTML, Interface HTMLOptionElement, defaultSelected attribute states
"defaultSelected: Represents the value of the HTML selected attribute. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes."

Mozilla 1.x, Firefox 1.x, Firefox 2.x, Firefox 3, Netscape 7.x, Seamonkey 1.x, Seamonkey 2.x, Safari 2.x, Safari 3.1, Safari 4.0, Konqueror 3.5.9, Opera 8.x, Opera 9.27, Opera 9.50, K-meleon 1.x, Galeon 2.x, Epiphany 2.x all pass this test.

This bug has been reported at connect's IE beta feedback as bug 365833. This bug has been closed by the IE team and will not be fixed for the release of IE 8 final.

Valid HTML 4.01! CSS compliant