summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 21:13:59 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 21:13:59 +0200
commit5e69b904229a13b423b6a2a1f3be4c50ffd2c505 (patch)
tree2202a4eb6edeae3807b8f835f178f4a28a9b1e25 /dom/webidl
parent6f1fcab2d81caedd96d9404386bc92f9884c30ce (diff)
downloaduxp-5e69b904229a13b423b6a2a1f3be4c50ffd2c505.tar.gz
Bug 1364026 - (Part 1) Expose HTMLInputElement.getMinimum/getMaximum methods via webidl
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/HTMLInputElement.webidl8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/webidl/HTMLInputElement.webidl b/dom/webidl/HTMLInputElement.webidl
index b2546fccac..c551d96ab6 100644
--- a/dom/webidl/HTMLInputElement.webidl
+++ b/dom/webidl/HTMLInputElement.webidl
@@ -253,6 +253,14 @@ partial interface HTMLInputElement {
[Pref="dom.forms.datetime", ChromeOnly]
void setDateTimePickerState(boolean open);
+ [Pref="dom.forms.datetime", ChromeOnly,
+ BinaryName="getMinimumAsDouble"]
+ double getMinimum();
+
+ [Pref="dom.forms.datetime", ChromeOnly,
+ BinaryName="getMaximumAsDouble"]
+ double getMaximum();
+
[Pref="dom.forms.datetime", Func="IsChromeOrXBL"]
void openDateTimePicker(optional DateTimeValue initialValue);