Bug 1364026 - (Part 1) Expose HTMLInputElement.getMinimum/getMaximum methods via webidl

This commit is contained in:
janekptacijarabaci 2018-03-30 21:13:59 +02:00 committed by Roy Tam
commit 549212cd38
2 changed files with 15 additions and 0 deletions

View file

@ -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);