month.html

PASSExpected15 of 15 subtests pass1,344 ms

Details

Test
/html/semantics/forms/the-input-element/month.html
Harness
OK

Subtests

StatusSubtestMessage
PASSyear can be more than four digits
PASSvalid value test
PASSyear can contain prefixes of zero, as long as there are at least four digits
PASSmonth type support on input element
PASSUser agents must not allow the user to set the value to a non-empty string that is not a valid month string.
PASSMonth value can be empty string.
PASSWhen value attribute has two digits year value, the value,which is invalid, must return empty string.
PASSWhen value is set with invalid value, the value must return empty string.
PASSWhen step attribute is given invalid value, it must ignore the invalid value and use defaul value instead.
PASSMonth should be <= 13: If the value of the element is not a valid month string, then set it to the empty string instead.
PASSMonth should be > 0: If the value of the element is not a valid month string, then set it to the empty string instead.>
PASSYear should be > 0: If the value of the element is not a valid year string, then set it to the empty string instead.>
PASSMonth should be two digits: If the value of the element is not a valid month string, then set it to the empty string instead.>
PASSMonth should be two digits not characters: If the value of the element is not a valid month string, then set it to the empty string instead.>
PASSValue should be two parts: If the value of the element is not a valid month string, then set it to the empty string instead.>