mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 824148 - [KEYBOARD] Input type=range should bring up the number keyboard. r=ttaubert
This commit is contained in:
parent
21df0245d9
commit
e40b2a62f5
@ -455,7 +455,7 @@ function getJSON(element) {
|
||||
value = element.textContent;
|
||||
}
|
||||
|
||||
// Until the input type=date/datetime/time have been implemented
|
||||
// Until the input type=date/datetime/range have been implemented
|
||||
// let's return their real type even if the platform returns 'text'
|
||||
let attributeType = element.getAttribute("type") || "";
|
||||
|
||||
@ -464,6 +464,7 @@ function getJSON(element) {
|
||||
switch (typeLowerCase) {
|
||||
case "datetime":
|
||||
case "datetime-local":
|
||||
case "range":
|
||||
type = typeLowerCase;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user