Calling elem.setSelectionRange on inputs with type date or time, as well as getting the selectionStart or selectionEnd properties, throws a TypeError.

Filed as Apple bug #15122724.

Test (date):

Test (datetime):

Test (month):

Test (time):

Control (text):