Added support for <select> elements with multiple attribute

When the multiple attribute is combined with the size attribute in a <select> element, the user is able to select multiple items from a list of options. The selectedIndex property returns only the index of the first selected item. Consequently, if the multiple attribute is set, it must be ensured that all <option> elements with a selected value of true are selected.