input-number.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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":"http://docs.webplatform.org/wiki/html/elements/input/type/number",
  21. "title":"WebPlatform Docs"
  22. },
  23. {
  24. "url":"https://www.slightfuture.com/webdev/html5-input-number-localization",
  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. "categories":[
  46. "HTML5"
  47. ],
  48. "stats":{
  49. "ie":{
  50. "5.5":"n",
  51. "6":"n",
  52. "7":"n",
  53. "8":"n",
  54. "9":"n",
  55. "10":"y #1",
  56. "11":"y #1"
  57. },
  58. "edge":{
  59. "12":"y #1",
  60. "13":"y #1",
  61. "14":"y #4"
  62. },
  63. "firefox":{
  64. "2":"n",
  65. "3":"n",
  66. "3.5":"n",
  67. "3.6":"n",
  68. "4":"n",
  69. "5":"n",
  70. "6":"n",
  71. "7":"n",
  72. "8":"n",
  73. "9":"n",
  74. "10":"n",
  75. "11":"n",
  76. "12":"n",
  77. "13":"n",
  78. "14":"n",
  79. "15":"n",
  80. "16":"n",
  81. "17":"n",
  82. "18":"n",
  83. "19":"n",
  84. "20":"n",
  85. "21":"n",
  86. "22":"n",
  87. "23":"n",
  88. "24":"n",
  89. "25":"n",
  90. "26":"n",
  91. "27":"n",
  92. "28":"n",
  93. "29":"y #3",
  94. "30":"y #3",
  95. "31":"y #3",
  96. "32":"y #3",
  97. "33":"y #3",
  98. "34":"y #3",
  99. "35":"y #3",
  100. "36":"y #3",
  101. "37":"y #3",
  102. "38":"y #3",
  103. "39":"y #3",
  104. "40":"y #3",
  105. "41":"y #3",
  106. "42":"y #3",
  107. "43":"y #3",
  108. "44":"y #3",
  109. "45":"y #3",
  110. "46":"y #3",
  111. "47":"y #3",
  112. "48":"y #3",
  113. "49":"y #3",
  114. "50":"y #3",
  115. "51":"y #3",
  116. "52":"y #3",
  117. "53":"y #3"
  118. },
  119. "chrome":{
  120. "4":"n",
  121. "5":"n",
  122. "6":"y",
  123. "7":"y",
  124. "8":"y",
  125. "9":"y",
  126. "10":"y",
  127. "11":"y",
  128. "12":"y",
  129. "13":"y",
  130. "14":"y",
  131. "15":"y",
  132. "16":"y",
  133. "17":"y",
  134. "18":"y",
  135. "19":"y",
  136. "20":"y",
  137. "21":"y",
  138. "22":"y",
  139. "23":"y",
  140. "24":"y",
  141. "25":"y",
  142. "26":"y",
  143. "27":"y",
  144. "28":"y",
  145. "29":"y",
  146. "30":"y",
  147. "31":"y",
  148. "32":"y",
  149. "33":"y",
  150. "34":"y",
  151. "35":"y",
  152. "36":"y",
  153. "37":"y",
  154. "38":"y",
  155. "39":"y",
  156. "40":"y",
  157. "41":"y",
  158. "42":"y",
  159. "43":"y",
  160. "44":"y",
  161. "45":"y",
  162. "46":"y",
  163. "47":"y",
  164. "48":"y",
  165. "49":"y",
  166. "50":"y",
  167. "51":"y",
  168. "52":"y",
  169. "53":"y",
  170. "54":"y",
  171. "55":"y",
  172. "56":"y",
  173. "57":"y"
  174. },
  175. "safari":{
  176. "3.1":"n",
  177. "3.2":"n",
  178. "4":"n",
  179. "5":"y",
  180. "5.1":"y",
  181. "6":"y",
  182. "6.1":"y",
  183. "7":"y",
  184. "7.1":"y",
  185. "8":"y",
  186. "9":"y",
  187. "9.1":"y",
  188. "10":"y",
  189. "TP":"y"
  190. },
  191. "opera":{
  192. "9":"y",
  193. "9.5-9.6":"y",
  194. "10.0-10.1":"y",
  195. "10.5":"y",
  196. "10.6":"y",
  197. "11":"y",
  198. "11.1":"y",
  199. "11.5":"y",
  200. "11.6":"y",
  201. "12":"y",
  202. "12.1":"y",
  203. "15":"y",
  204. "16":"y",
  205. "17":"y",
  206. "18":"y",
  207. "19":"y",
  208. "20":"y",
  209. "21":"y",
  210. "22":"y",
  211. "23":"y",
  212. "24":"y",
  213. "25":"y",
  214. "26":"y",
  215. "27":"y",
  216. "28":"y",
  217. "29":"y",
  218. "30":"y",
  219. "31":"y",
  220. "32":"y",
  221. "33":"y",
  222. "34":"y",
  223. "35":"y",
  224. "36":"y",
  225. "37":"y",
  226. "38":"y",
  227. "39":"y",
  228. "40":"y",
  229. "41":"y",
  230. "42":"y",
  231. "43":"y"
  232. },
  233. "ios_saf":{
  234. "3.2":"a #1 #2",
  235. "4.0-4.1":"a #1 #2",
  236. "4.2-4.3":"a #1 #2",
  237. "5.0-5.1":"a #1 #2",
  238. "6.0-6.1":"a #1 #2",
  239. "7.0-7.1":"a #1 #2",
  240. "8":"a #1 #2",
  241. "8.1-8.4":"a #1 #2",
  242. "9.0-9.2":"a #1 #2",
  243. "9.3":"a #1 #2",
  244. "10-10.1":"a #1 #2"
  245. },
  246. "op_mini":{
  247. "all":"n"
  248. },
  249. "android":{
  250. "2.1":"n",
  251. "2.2":"n",
  252. "2.3":"n",
  253. "3":"n",
  254. "4":"a #1 #2",
  255. "4.1":"a #1 #2",
  256. "4.2-4.3":"a #1 #2",
  257. "4.4":"a #1 #2",
  258. "4.4.3-4.4.4":"a #1 #2",
  259. "53":"a #1 #2"
  260. },
  261. "bb":{
  262. "7":"n",
  263. "10":"a #1 #2"
  264. },
  265. "op_mob":{
  266. "10":"y",
  267. "11":"y",
  268. "11.1":"y",
  269. "11.5":"y",
  270. "12":"y",
  271. "12.1":"y",
  272. "37":"a #1 #2"
  273. },
  274. "and_chr":{
  275. "54":"a #1 #2"
  276. },
  277. "and_ff":{
  278. "50":"y #1 #3"
  279. },
  280. "ie_mob":{
  281. "10":"a #1 #2",
  282. "11":"a #1 #2"
  283. },
  284. "and_uc":{
  285. "11":"a #1 #2"
  286. },
  287. "samsung":{
  288. "4":"a #1 #2"
  289. }
  290. },
  291. "notes":"",
  292. "notes_by_num":{
  293. "1":"UI widget does not include increment/decrement buttons.",
  294. "2":"UI widget does not take the \"step\", \"min\" or \"max\" attributes into account.",
  295. "3":"Firefox doesn't support [autocomplete content via datalist](http://codepen.io/graste/pen/bNoVKW) elements.",
  296. "4":"Does not include increment/decrement buttons, but does supports increment/decrement via arrow up & down keys."
  297. },
  298. "usage_perc_y":43.71,
  299. "usage_perc_a":49.12,
  300. "ucprefix":false,
  301. "parent":"forms",
  302. "keywords":"spinner,input type=\"number\"",
  303. "ie_id":"",
  304. "chrome_id":"",
  305. "firefox_id":"",
  306. "webkit_id":"",
  307. "shown":true
  308. }