Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local

This commit is contained in:
janekptacijarabaci 2018-04-15 14:52:09 +02:00 • committed by Roy Tam
commit 5622e56123
6 changed files with 73 additions and 24 deletions

View file

@ -1680,12 +1680,19 @@ private:
IsExperimentalFormsEnabled();
/**
* Checks preference "dom.forms.datetime" to determine if input date/time
* related types should be supported.
* Checks preference "dom.forms.datetime" to determine if input date and time
* should be supported.
*/
static bool
IsInputDateTimeEnabled();
/**
* Checks preference "dom.forms.datetime.others" to determine if input week,
* month and datetime-local should be supported.
*/
static bool
IsInputDateTimeOthersEnabled();
/**
* Checks preference "dom.forms.number" to determine if input type=number
* should be supported.