You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following IDL attributes and methods do not apply to the element: checked, files, selectionStart, selectionEnd, selectionDirection, valueAsDate, and valueAsNumber IDL attributes; select(), setRangeText(), setSelectionRange(), stepDown() and stepUp() methods.
assert_throws("INVALID_STATE_ERR", function() { input.select(); }, "Should throw with type " + aType);
For the invalid class, the test expects INVALID_STATE_ERR is thrown. It's correct according to W3C HTML 5.0. However, HTML 5.1 and WHATWG HTML changed coverage of select(). Email, date, datetime, datetime-local, month, time, week, number, color, and file types support select() and they shouldn't throw an exception.
The text was updated successfully, but these errors were encountered:
It expects type=email is in the valid class. But the specification says type=email doesn't have the selection API.
http://www.w3.org/TR/html5/forms.html#e-mail-state-(type=email)
For the invalid class, the test expects INVALID_STATE_ERR is thrown. It's correct according to W3C HTML 5.0. However, HTML 5.1 and WHATWG HTML changed coverage of select(). Email, date, datetime, datetime-local, month, time, week, number, color, and file types support select() and they shouldn't throw an exception.
The text was updated successfully, but these errors were encountered: