summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLInputElement.h
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-16 08:30:27 -0400
committerGitHub <noreply@github.com>2018-04-16 08:30:27 -0400
commitc394a5f8710e9e83e8caa3f524aca4a80309b7cb (patch)
tree4d6358da9eb9d21d0e85f4732e88c5e7c0391125 /dom/html/HTMLInputElement.h
parenta557bfae78557c5134874683fc7a8121f6b5deb1 (diff)
parentc55addfa6422cd6fd3886f914b71139c4dd0edcc (diff)
downloadUXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.gz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.lz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.xz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.zip
Merge pull request #180 from janekptacijarabaci/html_input_datetime_2
HTML - input - datetime - support for "dom.forms.datetime.others"
Diffstat (limited to 'dom/html/HTMLInputElement.h')
-rw-r--r--dom/html/HTMLInputElement.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/dom/html/HTMLInputElement.h b/dom/html/HTMLInputElement.h
index adab663c3..98a590443 100644
--- a/dom/html/HTMLInputElement.h
+++ b/dom/html/HTMLInputElement.h
@@ -1451,7 +1451,6 @@ protected:
};
nsresult InitFilePicker(FilePickerType aType);
nsresult InitColorPicker();
- nsresult InitDatePicker();
/**
* Use this function before trying to open a picker.
@@ -1647,7 +1646,7 @@ private:
/**
* Checks if aDateTimeInputType should be supported based on "dom.forms.datetime",
- * "dom.forms.datepicker" and "dom.experimental_forms".
+ * and "dom.experimental_forms".
*/
static bool
IsDateTimeTypeSupported(uint8_t aDateTimeInputType);
@@ -1674,13 +1673,6 @@ private:
IsDirPickerEnabled();
/**
- * Checks preference "dom.forms.datepicker" to determine if date picker should
- * be supported.
- */
- static bool
- IsDatePickerEnabled();
-
- /**
* Checks preference "dom.experimental_forms" to determine if experimental
* implementation of input element should be enabled.
*/
@@ -1688,13 +1680,20 @@ 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.
*/