input-event.json 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. {
  2. "title":"input event",
  3. "description":"The `input` event is fired when the user changes the value of an `<input>` element, `<select>` element, or `<textarea>` element. By contrast, the \"change\" event usually only fires after the form control has lost focus.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#event-input-input",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://html.spec.whatwg.org/multipage/forms.html#send-select-update-notifications",
  9. "title":"Specification for `<select>` elements firing the `input` event"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/Events/input",
  13. "title":"MDN Web Docs - input event"
  14. },
  15. {
  16. "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/10182111--input-type-checkbox-type-radio-should-fire-in",
  17. "title":"Microsoft Edge feature request on UserVoice"
  18. }
  19. ],
  20. "bugs":[
  21. {
  22. "description":"Internet Explorer 10 and 11 fire the `input` event when an input field with a placeholder [is focused](https://connect.microsoft.com/IE/feedback/details/885747/ie-11-fires-the-input-event-when-a-input-field-with-placeholder-is-focused) or on page load when the placeholder [contains certain characters](https://jsfiddle.net/yiminghe/fm3rckaz/), like Chinese. "
  23. }
  24. ],
  25. "categories":[
  26. "DOM",
  27. "HTML5"
  28. ],
  29. "stats":{
  30. "ie":{
  31. "5.5":"n",
  32. "6":"n",
  33. "7":"n",
  34. "8":"n",
  35. "9":"a #1 #3 #5",
  36. "10":"y #3 #5",
  37. "11":"y #3 #5"
  38. },
  39. "edge":{
  40. "12":"y #3 #5",
  41. "13":"y #3 #5",
  42. "14":"y #3 #5",
  43. "15":"y #3 #5",
  44. "16":"y #3 #5",
  45. "17":"y #3 #5",
  46. "18":"y #3 #5"
  47. },
  48. "firefox":{
  49. "2":"u",
  50. "3":"a #2 #3 #4",
  51. "3.5":"a #2 #3 #4",
  52. "3.6":"y #3 #4",
  53. "4":"y #3 #4",
  54. "5":"y #3 #4",
  55. "6":"y #3 #4",
  56. "7":"y #3 #4",
  57. "8":"y #3 #4",
  58. "9":"y #3 #4",
  59. "10":"y #3 #4",
  60. "11":"y #3 #4",
  61. "12":"y #3 #4",
  62. "13":"y #3 #4",
  63. "14":"y #3 #4",
  64. "15":"y #3 #4",
  65. "16":"y #3 #4",
  66. "17":"y #3 #4",
  67. "18":"y #3 #4",
  68. "19":"y #3 #4",
  69. "20":"y #3 #4",
  70. "21":"y #3 #4",
  71. "22":"y #3 #4",
  72. "23":"y #3 #4",
  73. "24":"y #3 #4",
  74. "25":"y #3 #4",
  75. "26":"y #3 #4",
  76. "27":"y #3 #4",
  77. "28":"y #3 #4",
  78. "29":"y #3 #4",
  79. "30":"y #3 #4",
  80. "31":"y #3 #4",
  81. "32":"y #3 #4",
  82. "33":"y #3 #4",
  83. "34":"y #3 #4",
  84. "35":"y #3 #4",
  85. "36":"y #3 #4",
  86. "37":"y #3 #4",
  87. "38":"y #3 #4",
  88. "39":"y #3 #4",
  89. "40":"y #3 #4",
  90. "41":"y #3 #4",
  91. "42":"y #3 #4",
  92. "43":"y #3 #4",
  93. "44":"y #3 #4",
  94. "45":"y #3 #4",
  95. "46":"y #3 #4",
  96. "47":"y #3 #4",
  97. "48":"y #3 #4",
  98. "49":"y",
  99. "50":"y",
  100. "51":"y",
  101. "52":"y",
  102. "53":"y",
  103. "54":"y",
  104. "55":"y",
  105. "56":"y",
  106. "57":"y",
  107. "58":"y",
  108. "59":"y",
  109. "60":"y",
  110. "61":"y",
  111. "62":"y"
  112. },
  113. "chrome":{
  114. "4":"u",
  115. "5":"u",
  116. "6":"u",
  117. "7":"u",
  118. "8":"u",
  119. "9":"u",
  120. "10":"u",
  121. "11":"u",
  122. "12":"u",
  123. "13":"u",
  124. "14":"u",
  125. "15":"y #3 #4",
  126. "16":"y #3 #4",
  127. "17":"y #3 #4",
  128. "18":"y #3 #4",
  129. "19":"y #3 #4",
  130. "20":"y #3 #4",
  131. "21":"y #3 #4",
  132. "22":"y #3 #4",
  133. "23":"y #3 #4",
  134. "24":"y #3 #4",
  135. "25":"y #3 #4",
  136. "26":"y #3 #4",
  137. "27":"y #3 #4",
  138. "28":"y #3 #4",
  139. "29":"y #3 #4",
  140. "30":"y #3 #4",
  141. "31":"y #3 #4",
  142. "32":"y #3 #4",
  143. "33":"y #3 #4",
  144. "34":"y #3 #4",
  145. "35":"y #4",
  146. "36":"y #4",
  147. "37":"y #4",
  148. "38":"y #4",
  149. "39":"y #4",
  150. "40":"y #4",
  151. "41":"y #4",
  152. "42":"y #4",
  153. "43":"y #4",
  154. "44":"y #4",
  155. "45":"y #4",
  156. "46":"y #4",
  157. "47":"y #4",
  158. "48":"y #4",
  159. "49":"y #4",
  160. "50":"y #4",
  161. "51":"y #4",
  162. "52":"y #4",
  163. "53":"y #4",
  164. "54":"y #4",
  165. "55":"y #4",
  166. "56":"y #4",
  167. "57":"y #4",
  168. "58":"y #4",
  169. "59":"y #4",
  170. "60":"y #4",
  171. "61":"y #4",
  172. "62":"y #4",
  173. "63":"y #4",
  174. "64":"y #4",
  175. "65":"y #4",
  176. "66":"y",
  177. "67":"y",
  178. "68":"y",
  179. "69":"y"
  180. },
  181. "safari":{
  182. "3.1":"u",
  183. "3.2":"u",
  184. "4":"u",
  185. "5":"u",
  186. "5.1":"y #3 #4",
  187. "6":"u",
  188. "6.1":"y #4",
  189. "7":"y #4",
  190. "7.1":"y #4",
  191. "8":"y #4",
  192. "9":"y #4",
  193. "9.1":"y #4",
  194. "10":"y #4",
  195. "10.1":"y #4",
  196. "11":"y #4",
  197. "11.1":"y #4",
  198. "TP":"y #4"
  199. },
  200. "opera":{
  201. "9":"u",
  202. "9.5-9.6":"u",
  203. "10.0-10.1":"u",
  204. "10.5":"u",
  205. "10.6":"u",
  206. "11":"u",
  207. "11.1":"u",
  208. "11.5":"u",
  209. "11.6":"a #2",
  210. "12":"u",
  211. "12.1":"y",
  212. "15":"y #3 #4",
  213. "16":"y #3 #4",
  214. "17":"y #3 #4",
  215. "18":"y #3 #4",
  216. "19":"y #3 #4",
  217. "20":"y #3 #4",
  218. "21":"y #3 #4",
  219. "22":"y #4",
  220. "23":"y #4",
  221. "24":"y #4",
  222. "25":"y #4",
  223. "26":"y #4",
  224. "27":"y #4",
  225. "28":"y #4",
  226. "29":"y #4",
  227. "30":"y #4",
  228. "31":"y #4",
  229. "32":"y #4",
  230. "33":"y #4",
  231. "34":"y #4",
  232. "35":"y #4",
  233. "36":"y #4",
  234. "37":"y #4",
  235. "38":"y #4",
  236. "39":"y #4",
  237. "40":"y #4",
  238. "41":"y #4",
  239. "42":"y #4",
  240. "43":"y #4",
  241. "44":"y #4",
  242. "45":"y #4",
  243. "46":"y #4",
  244. "47":"y #4",
  245. "48":"y #4",
  246. "49":"y #4",
  247. "50":"y #4",
  248. "51":"y #4",
  249. "52":"y"
  250. },
  251. "ios_saf":{
  252. "3.2":"u",
  253. "4.0-4.1":"u",
  254. "4.2-4.3":"u",
  255. "5.0-5.1":"y #3 #4",
  256. "6.0-6.1":"y #3 #4",
  257. "7.0-7.1":"y #3 #4",
  258. "8":"y #4",
  259. "8.1-8.4":"y #4",
  260. "9.0-9.2":"y #4",
  261. "9.3":"y #4",
  262. "10.0-10.2":"y #4",
  263. "10.3":"y #4",
  264. "11.0-11.2":"y #4",
  265. "11.3":"y #4"
  266. },
  267. "op_mini":{
  268. "all":"n"
  269. },
  270. "android":{
  271. "2.1":"u",
  272. "2.2":"u",
  273. "2.3":"y #3 #4",
  274. "3":"y #3 #4",
  275. "4":"y #3 #4",
  276. "4.1":"y #3 #4",
  277. "4.2-4.3":"y #3 #4",
  278. "4.4":"y #3 #4",
  279. "4.4.3-4.4.4":"y #4",
  280. "62":"y #4"
  281. },
  282. "bb":{
  283. "7":"y #3 #4",
  284. "10":"y #4"
  285. },
  286. "op_mob":{
  287. "10":"y",
  288. "11":"y",
  289. "11.1":"y",
  290. "11.5":"y",
  291. "12":"y",
  292. "12.1":"y",
  293. "37":"y #4"
  294. },
  295. "and_chr":{
  296. "66":"y #4"
  297. },
  298. "and_ff":{
  299. "57":"y #3 #4"
  300. },
  301. "ie_mob":{
  302. "10":"y #3 #5",
  303. "11":"y #3 #5"
  304. },
  305. "and_uc":{
  306. "11.8":"y #3 #4"
  307. },
  308. "samsung":{
  309. "4":"y #4",
  310. "5":"y #4",
  311. "6.2":"y #4"
  312. },
  313. "and_qq":{
  314. "1.2":"y #4"
  315. },
  316. "baidu":{
  317. "7.12":"y #4"
  318. }
  319. },
  320. "notes":"",
  321. "notes_by_num":{
  322. "1":"Doesn't fire an `input` event when deleting text (via Backspace, Delete, Cut, etc.).",
  323. "2":"Doesn't fire an `input` event when drag-and-dropping text into an `<input>` or `<textarea>`.",
  324. "3":"`<select>` doesn't fire `input` events. See [MS Edge bug](https://developer.microsoft.com/microsoft-edge/platform/issues/4660045/) and [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1024350).",
  325. "4":"Doesn't fire an `input` event when (un)checking a checkbox or radio button, or when changing the selected file(s) of an `<input type=\"file\">`. See [Chrome bug](https://code.google.com/p/chromium/issues/detail?id=534245), [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=149398), and [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1206616).",
  326. "5":"Doesn't fire an `input` event when (un)checking a checkbox or radio button. See [MS Edge bug](https://connect.microsoft.com/IE/feedback/details/1883692)."
  327. },
  328. "usage_perc_y":94.37,
  329. "usage_perc_a":0.15,
  330. "ucprefix":false,
  331. "parent":"",
  332. "keywords":"oninput",
  333. "ie_id":"",
  334. "chrome_id":"",
  335. "firefox_id":"",
  336. "webkit_id":"",
  337. "shown":true
  338. }