input-number.json 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. {
  2. "title":"Number input type",
  3. "description":"Form field type for numbers.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#number-state-(type=number)",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"http://www.html5tutorial.info/html5-number.php",
  9. "title":"Tutorial"
  10. },
  11. {
  12. "url":"https://github.com/jonstipe/number-polyfill",
  13. "title":"Polyfill"
  14. },
  15. {
  16. "url":"https://raw.github.com/phiggins42/has.js/master/detect/form.js#input-type-number",
  17. "title":"has.js test"
  18. },
  19. {
  20. "url":"https://www.webplatform.org/docs/html/elements/input/type/number",
  21. "title":"WebPlatform Docs"
  22. },
  23. {
  24. "url":"https://www.ctrl.blog/entry/html5-input-number-localization.html",
  25. "title":"Poor browser support for localized decimal marks, commas"
  26. }
  27. ],
  28. "bugs":[
  29. {
  30. "description":"IE10 and IE11 also have broken `.valueAsNumber` results that don't follow the spec, e.g. for\r\n`input.value = \"9\"` `input.valueAsNumber` returns `NaN`."
  31. },
  32. {
  33. "description":"The `.stepUp` and `.stepDown` methods incorrectly invoke `InvalidStateError` exceptions in IE 10 and 11."
  34. },
  35. {
  36. "description":"IE does not convert the value to an invariant culture. IE simply submits the value as it was typed, using the user's regional settings, but the spec says the browser should submit in a normalized way."
  37. },
  38. {
  39. "description":"Currently no mobile browsers and very few desktop browsers support using commas for languages where commas are used as decimal separators."
  40. },
  41. {
  42. "description":"Firefox 39 in Mac OSX by default does not prevent alpha characters input and Firefox 42 validates only but It doesn't disable alpha keys input."
  43. },
  44. {
  45. "description":"While in newer Edge versions changing the value through up/down arrow keys is supported, no `input` or `change` event is fired. See the [MS Edge bug concerning `input`](https://web.archive.org/web/20171210190913/https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10305583/) and [MS Edge bug concerning `change`](https://web.archive.org/web/20190421015807/https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10242461/) respectively."
  46. }
  47. ],
  48. "categories":[
  49. "HTML5"
  50. ],
  51. "stats":{
  52. "ie":{
  53. "5.5":"n",
  54. "6":"n",
  55. "7":"n",
  56. "8":"n",
  57. "9":"n",
  58. "10":"y #1",
  59. "11":"y #1"
  60. },
  61. "edge":{
  62. "12":"y #1",
  63. "13":"y #1",
  64. "14":"y #4",
  65. "15":"y #4",
  66. "16":"y #4",
  67. "17":"y #4",
  68. "18":"y #4",
  69. "79":"y",
  70. "80":"y",
  71. "81":"y",
  72. "83":"y",
  73. "84":"y",
  74. "85":"y",
  75. "86":"y",
  76. "87":"y",
  77. "88":"y",
  78. "89":"y",
  79. "90":"y",
  80. "91":"y",
  81. "92":"y",
  82. "93":"y",
  83. "94":"y"
  84. },
  85. "firefox":{
  86. "2":"n",
  87. "3":"n",
  88. "3.5":"n",
  89. "3.6":"n",
  90. "4":"n",
  91. "5":"n",
  92. "6":"n",
  93. "7":"n",
  94. "8":"n",
  95. "9":"n",
  96. "10":"n",
  97. "11":"n",
  98. "12":"n",
  99. "13":"n",
  100. "14":"n",
  101. "15":"n",
  102. "16":"n",
  103. "17":"n",
  104. "18":"n",
  105. "19":"n",
  106. "20":"n",
  107. "21":"n",
  108. "22":"n",
  109. "23":"n",
  110. "24":"n",
  111. "25":"n",
  112. "26":"n",
  113. "27":"n",
  114. "28":"n",
  115. "29":"y #3",
  116. "30":"y #3",
  117. "31":"y #3",
  118. "32":"y #3",
  119. "33":"y #3",
  120. "34":"y #3",
  121. "35":"y #3",
  122. "36":"y #3",
  123. "37":"y #3",
  124. "38":"y #3",
  125. "39":"y #3",
  126. "40":"y #3",
  127. "41":"y #3",
  128. "42":"y #3",
  129. "43":"y #3",
  130. "44":"y #3",
  131. "45":"y #3",
  132. "46":"y #3",
  133. "47":"y #3",
  134. "48":"y #3",
  135. "49":"y #3",
  136. "50":"y #3",
  137. "51":"y #3",
  138. "52":"y #3",
  139. "53":"y #3",
  140. "54":"y #3",
  141. "55":"y #3",
  142. "56":"y #3",
  143. "57":"y #3",
  144. "58":"y #3",
  145. "59":"y #3",
  146. "60":"y #3",
  147. "61":"y #3",
  148. "62":"y #3",
  149. "63":"y #3",
  150. "64":"y #3",
  151. "65":"y #3",
  152. "66":"y #3",
  153. "67":"y #3",
  154. "68":"y #3",
  155. "69":"y #3",
  156. "70":"y #3",
  157. "71":"y #3",
  158. "72":"y #3",
  159. "73":"y #3",
  160. "74":"y #3",
  161. "75":"y #3",
  162. "76":"y #3",
  163. "77":"y #3",
  164. "78":"y #3",
  165. "79":"y #3",
  166. "80":"y #3",
  167. "81":"y #3",
  168. "82":"y #3",
  169. "83":"y #3",
  170. "84":"y #3",
  171. "85":"y #3",
  172. "86":"y #3",
  173. "87":"y #3",
  174. "88":"y #3",
  175. "89":"y #3",
  176. "90":"y #3",
  177. "91":"y #3",
  178. "92":"y #3",
  179. "93":"y #3",
  180. "94":"y #3",
  181. "95":"y #3"
  182. },
  183. "chrome":{
  184. "4":"n",
  185. "5":"n",
  186. "6":"y",
  187. "7":"y",
  188. "8":"y",
  189. "9":"y",
  190. "10":"y",
  191. "11":"y",
  192. "12":"y",
  193. "13":"y",
  194. "14":"y",
  195. "15":"y",
  196. "16":"y",
  197. "17":"y",
  198. "18":"y",
  199. "19":"y",
  200. "20":"y",
  201. "21":"y",
  202. "22":"y",
  203. "23":"y",
  204. "24":"y",
  205. "25":"y",
  206. "26":"y",
  207. "27":"y",
  208. "28":"y",
  209. "29":"y",
  210. "30":"y",
  211. "31":"y",
  212. "32":"y",
  213. "33":"y",
  214. "34":"y",
  215. "35":"y",
  216. "36":"y",
  217. "37":"y",
  218. "38":"y",
  219. "39":"y",
  220. "40":"y",
  221. "41":"y",
  222. "42":"y",
  223. "43":"y",
  224. "44":"y",
  225. "45":"y",
  226. "46":"y",
  227. "47":"y",
  228. "48":"y",
  229. "49":"y",
  230. "50":"y",
  231. "51":"y",
  232. "52":"y",
  233. "53":"y",
  234. "54":"y",
  235. "55":"y",
  236. "56":"y",
  237. "57":"y",
  238. "58":"y",
  239. "59":"y",
  240. "60":"y",
  241. "61":"y",
  242. "62":"y",
  243. "63":"y",
  244. "64":"y",
  245. "65":"y",
  246. "66":"y",
  247. "67":"y",
  248. "68":"y",
  249. "69":"y",
  250. "70":"y",
  251. "71":"y",
  252. "72":"y",
  253. "73":"y",
  254. "74":"y",
  255. "75":"y",
  256. "76":"y",
  257. "77":"y",
  258. "78":"y",
  259. "79":"y",
  260. "80":"y",
  261. "81":"y",
  262. "83":"y",
  263. "84":"y",
  264. "85":"y",
  265. "86":"y",
  266. "87":"y",
  267. "88":"y",
  268. "89":"y",
  269. "90":"y",
  270. "91":"y",
  271. "92":"y",
  272. "93":"y",
  273. "94":"y",
  274. "95":"y",
  275. "96":"y",
  276. "97":"y"
  277. },
  278. "safari":{
  279. "3.1":"n",
  280. "3.2":"n",
  281. "4":"n",
  282. "5":"y",
  283. "5.1":"y",
  284. "6":"y",
  285. "6.1":"y",
  286. "7":"y",
  287. "7.1":"y",
  288. "8":"y",
  289. "9":"y",
  290. "9.1":"y",
  291. "10":"y",
  292. "10.1":"y",
  293. "11":"y",
  294. "11.1":"y",
  295. "12":"y",
  296. "12.1":"y",
  297. "13":"y",
  298. "13.1":"y",
  299. "14":"y",
  300. "14.1":"y",
  301. "15":"y",
  302. "TP":"y"
  303. },
  304. "opera":{
  305. "9":"y",
  306. "9.5-9.6":"y",
  307. "10.0-10.1":"y",
  308. "10.5":"y",
  309. "10.6":"y",
  310. "11":"y",
  311. "11.1":"y",
  312. "11.5":"y",
  313. "11.6":"y",
  314. "12":"y",
  315. "12.1":"y",
  316. "15":"y",
  317. "16":"y",
  318. "17":"y",
  319. "18":"y",
  320. "19":"y",
  321. "20":"y",
  322. "21":"y",
  323. "22":"y",
  324. "23":"y",
  325. "24":"y",
  326. "25":"y",
  327. "26":"y",
  328. "27":"y",
  329. "28":"y",
  330. "29":"y",
  331. "30":"y",
  332. "31":"y",
  333. "32":"y",
  334. "33":"y",
  335. "34":"y",
  336. "35":"y",
  337. "36":"y",
  338. "37":"y",
  339. "38":"y",
  340. "39":"y",
  341. "40":"y",
  342. "41":"y",
  343. "42":"y",
  344. "43":"y",
  345. "44":"y",
  346. "45":"y",
  347. "46":"y",
  348. "47":"y",
  349. "48":"y",
  350. "49":"y",
  351. "50":"y",
  352. "51":"y",
  353. "52":"y",
  354. "53":"y",
  355. "54":"y",
  356. "55":"y",
  357. "56":"y",
  358. "57":"y",
  359. "58":"y",
  360. "60":"y",
  361. "62":"y",
  362. "63":"y",
  363. "64":"y",
  364. "65":"y",
  365. "66":"y",
  366. "67":"y",
  367. "68":"y",
  368. "69":"y",
  369. "70":"y",
  370. "71":"y",
  371. "72":"y",
  372. "73":"y",
  373. "74":"y",
  374. "75":"y",
  375. "76":"y",
  376. "77":"y",
  377. "78":"y",
  378. "79":"y",
  379. "80":"y"
  380. },
  381. "ios_saf":{
  382. "3.2":"a #1 #2",
  383. "4.0-4.1":"a #1 #2",
  384. "4.2-4.3":"a #1 #2",
  385. "5.0-5.1":"a #1 #2",
  386. "6.0-6.1":"a #1 #2",
  387. "7.0-7.1":"a #1 #2",
  388. "8":"a #1 #2",
  389. "8.1-8.4":"a #1 #2",
  390. "9.0-9.2":"a #1 #2",
  391. "9.3":"a #1 #2",
  392. "10.0-10.2":"a #1 #2",
  393. "10.3":"a #1 #2",
  394. "11.0-11.2":"a #1 #2",
  395. "11.3-11.4":"a #1 #2",
  396. "12.0-12.1":"a #1 #2",
  397. "12.2-12.5":"a #1 #2",
  398. "13.0-13.1":"a #1 #2",
  399. "13.2":"a #1 #2",
  400. "13.3":"a #1 #2",
  401. "13.4-13.7":"a #1 #2",
  402. "14.0-14.4":"a #1 #2",
  403. "14.5-14.8":"a #1 #2",
  404. "15":"a #1 #2"
  405. },
  406. "op_mini":{
  407. "all":"n"
  408. },
  409. "android":{
  410. "2.1":"n",
  411. "2.2":"n",
  412. "2.3":"n",
  413. "3":"n",
  414. "4":"a #1 #2",
  415. "4.1":"a #1 #2",
  416. "4.2-4.3":"a #1 #2",
  417. "4.4":"a #1 #2",
  418. "4.4.3-4.4.4":"a #1 #2",
  419. "94":"a #1 #2"
  420. },
  421. "bb":{
  422. "7":"n",
  423. "10":"a #1 #2"
  424. },
  425. "op_mob":{
  426. "10":"y",
  427. "11":"y",
  428. "11.1":"y",
  429. "11.5":"y",
  430. "12":"y",
  431. "12.1":"y",
  432. "64":"a #1 #2"
  433. },
  434. "and_chr":{
  435. "94":"a #1 #2"
  436. },
  437. "and_ff":{
  438. "92":"y #1 #3"
  439. },
  440. "ie_mob":{
  441. "10":"a #1 #2",
  442. "11":"a #1 #2"
  443. },
  444. "and_uc":{
  445. "12.12":"a #1 #2"
  446. },
  447. "samsung":{
  448. "4":"a #1 #2",
  449. "5.0-5.4":"a #1 #2",
  450. "6.2-6.4":"a #1 #2",
  451. "7.2-7.4":"a #1 #2",
  452. "8.2":"a #1 #2",
  453. "9.2":"a #1 #2",
  454. "10.1":"a #1 #2",
  455. "11.1-11.2":"a #1 #2",
  456. "12.0":"a #1 #2",
  457. "13.0":"a #1 #2",
  458. "14.0":"a #1 #2",
  459. "15.0":"a #1 #2"
  460. },
  461. "and_qq":{
  462. "10.4":"a #1 #2"
  463. },
  464. "baidu":{
  465. "7.12":"a #1 #2"
  466. },
  467. "kaios":{
  468. "2.5":"y #3"
  469. }
  470. },
  471. "notes":"",
  472. "notes_by_num":{
  473. "1":"Does not support increment/decrement, either via buttons in UI or via arrow up & down keys.",
  474. "2":"UI widget does not take the \"step\", \"min\" or \"max\" attributes into account.",
  475. "3":"Firefox doesn't support [autocomplete content via datalist](https://codepen.io/graste/pen/bNoVKW) elements.",
  476. "4":"Does not include increment/decrement buttons, but does support increment/decrement via arrow up & down keys."
  477. },
  478. "usage_perc_y":41.7,
  479. "usage_perc_a":56.49,
  480. "ucprefix":false,
  481. "parent":"forms",
  482. "keywords":"spinner,input type=\"number\"",
  483. "ie_id":"",
  484. "chrome_id":"",
  485. "firefox_id":"",
  486. "webkit_id":"",
  487. "shown":true
  488. }