Backed out changeset 444a4a7233f7 (bug 1278737) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout
This commit is contained in:
@@ -1017,11 +1017,7 @@ protected:
|
||||
/**
|
||||
* Returns if the step attribute apply for the current type.
|
||||
*/
|
||||
bool DoesStepApply() const
|
||||
{
|
||||
// TODO: this is temporary until bug 888324 is fixed.
|
||||
return DoesMinMaxApply() && mType != NS_FORM_INPUT_MONTH;
|
||||
}
|
||||
bool DoesStepApply() const { return DoesMinMaxApply(); }
|
||||
|
||||
/**
|
||||
* Returns if stepDown and stepUp methods apply for the current type.
|
||||
@@ -1031,11 +1027,7 @@ protected:
|
||||
/**
|
||||
* Returns if valueAsNumber attribute applies for the current type.
|
||||
*/
|
||||
bool DoesValueAsNumberApply() const
|
||||
{
|
||||
// TODO: this is temporary until bug 888324 is fixed.
|
||||
return DoesMinMaxApply() && mType != NS_FORM_INPUT_MONTH;
|
||||
}
|
||||
bool DoesValueAsNumberApply() const { return DoesMinMaxApply(); }
|
||||
|
||||
/**
|
||||
* Returns if autocomplete attribute applies for the current type.
|
||||
@@ -1259,12 +1251,6 @@ protected:
|
||||
*/
|
||||
static bool IsExperimentalMobileType(uint8_t aType);
|
||||
|
||||
/*
|
||||
* Returns if the current type is one of the date/time input types: date,
|
||||
* time and month. TODO: week and datetime-local.
|
||||
*/
|
||||
static bool IsDateTimeInputType(uint8_t aType);
|
||||
|
||||
/**
|
||||
* Flushes the layout frame tree to make sure we have up-to-date frames.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user