Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug

This commit is contained in:
Jessica Jong
2016-08-15 23:15:00 -04:00
parent 5e03ee3d5c
commit e854e57b5b
32 changed files with 187 additions and 65 deletions

View File

@@ -47,11 +47,12 @@ HTMLFormControlsCollection::ShouldBeInElements(nsIFormControl* aFormControl)
case NS_FORM_INPUT_TEXT :
case NS_FORM_INPUT_TEL :
case NS_FORM_INPUT_URL :
case NS_FORM_INPUT_MONTH :
case NS_FORM_INPUT_NUMBER :
case NS_FORM_INPUT_RANGE :
case NS_FORM_INPUT_DATE :
case NS_FORM_INPUT_TIME :
case NS_FORM_INPUT_MONTH :
case NS_FORM_INPUT_WEEK :
case NS_FORM_SELECT :
case NS_FORM_TEXTAREA :
case NS_FORM_FIELDSET :