diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 14:52:09 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 14:52:09 +0200 |
commit | c55addfa6422cd6fd3886f914b71139c4dd0edcc (patch) | |
tree | 2c5406fb382e855d74d939ff90d4d5b0fb50d316 /dom/html/HTMLInputElement.h | |
parent | 054dde272820f12b4f3c60ee4c8b7ede47126aa6 (diff) | |
download | UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.gz UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.lz UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.xz UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.zip |
Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local
Diffstat (limited to 'dom/html/HTMLInputElement.h')
-rw-r--r-- | dom/html/HTMLInputElement.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dom/html/HTMLInputElement.h b/dom/html/HTMLInputElement.h index 305b76556..98a590443 100644 --- a/dom/html/HTMLInputElement.h +++ b/dom/html/HTMLInputElement.h @@ -1680,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. */ |