2.1.79 [HTML5] Section 4.10.7 The select element

V0172: The options collection returns an HTMLSelectElement, not an HTMLOptionsCollection

The specification states:

 4.10.7 The select element
     ...
     interface HTMLSelectElement : HTMLElement {
         ...
         readonly attribute HTMLOptionsCollection options;
         ...
     };

All document modes (Internet Explorer 11, Internet Explorer 10, Internet Explorer 9, and Internet Explorer 8)

The options collection returns an HTMLSelectElement, not an HTMLOptionsCollection.

V0173: The labels attribute is not supported

The specification states:

 4.10.7 The select element
     ...
     interface HTMLSelectElement : HTMLElement {
         ...
         ... readonly attribute NodeList labels;
     };

All document modes (All versions)

The labels attribute is not supported.

V0174: The selectedOptions collection is not supported

The specification states:

 4.10.7 The select element
     ...
     interface HTMLSelectElement : HTMLElement {
         ...
         readonly attribute HTMLCollection selectedOptions;
         ...
     };

All document modes (Internet Explorer 11, Internet Explorer 10, Internet Explorer 9, and Internet Explorer 8)

The selectedOptions collection is not supported.

V0175: The namedItem function throws an exception when it receives an empty string

The specification states:

 4.10.7 The select element
     ...
     interface HTMLSelectElement : HTMLElement {
         ...
         HTMLOptionElement? namedItem(DOMString name);
         ...
     };

All document modes (All versions)

The namedItem function throws an exception when it receives an empty string; it should return null.

V0176: The namedItem function does not select options based on the name attribute

The specification states:

 4.10.7 The select element
     ...
     The namedItem(name) method must return the value returned by the method of the same 
     name on the options collection, when invoked with the same argument.

All document modes (Internet Explorer 11, Internet Explorer 10, Internet Explorer 9, and Internet Explorer 8)

The namedItem function does not select options based on the name attribute.

Show: