Bug 824148 - [KEYBOARD] Input type=range should bring up the number keyboard. r=ttaubert

This commit is contained in:
Margaret Leibovic 2013-01-10 13:25:30 +01:00
parent 8db38c00a3
commit b737d582ea

View File

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