Nav apraksta

form-validation.json 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. {
  2. "title":"Form validation",
  3. "description":"Method of setting required fields and field types without requiring JavaScript. This includes preventing forms from being submitted when appropriate, the `checkValidity()` method as well as support for the `:invalid`, `:valid`, and `:required` CSS pseudo-classes.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#client-side-form-validation",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://www.webplatform.org/docs/html/attributes/required",
  9. "title":"WebPlatform Docs"
  10. },
  11. {
  12. "url":"https://webkit.org/blog/7099/html-interactive-form-validation/",
  13. "title":"WebKit Blog: HTML Interactive Form Validation"
  14. }
  15. ],
  16. "bugs":[
  17. {
  18. "description":"IE10 and 11 [have a problem](https://stackoverflow.com/questions/20241415/html5-number-input-field-step-attribute-broken-in-internet-explorer-10-and-inter) validating number fields in combination with the `step` attribute and certain values"
  19. },
  20. {
  21. "description":"In Chrome (tested in 45) inputs marked as disabled or hidden while also marked as required are [incorrectly](https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled) being considered for constraint validation. https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled"
  22. },
  23. {
  24. "description":"[IE & Edge do not support `:valid` on `form` elements.](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8114184/) Firefox<51 seemed to only match `:valid` on `form`s after child element values have changed from an invalid to valid state; see [bug #1285425](https://bugzilla.mozilla.org/show_bug.cgi?id=1285425)."
  25. }
  26. ],
  27. "categories":[
  28. "HTML5"
  29. ],
  30. "stats":{
  31. "ie":{
  32. "5.5":"n",
  33. "6":"n",
  34. "7":"n",
  35. "8":"n",
  36. "9":"n",
  37. "10":"y",
  38. "11":"y"
  39. },
  40. "edge":{
  41. "12":"y",
  42. "13":"y",
  43. "14":"y",
  44. "15":"y",
  45. "16":"y",
  46. "17":"y"
  47. },
  48. "firefox":{
  49. "2":"n",
  50. "3":"n",
  51. "3.5":"n",
  52. "3.6":"n",
  53. "4":"y",
  54. "5":"y",
  55. "6":"y",
  56. "7":"y",
  57. "8":"y",
  58. "9":"y",
  59. "10":"y",
  60. "11":"y",
  61. "12":"y",
  62. "13":"y",
  63. "14":"y",
  64. "15":"y",
  65. "16":"y",
  66. "17":"y",
  67. "18":"y",
  68. "19":"y",
  69. "20":"y",
  70. "21":"y",
  71. "22":"y",
  72. "23":"y",
  73. "24":"y",
  74. "25":"y",
  75. "26":"y",
  76. "27":"y",
  77. "28":"y",
  78. "29":"y",
  79. "30":"y",
  80. "31":"y",
  81. "32":"y",
  82. "33":"y",
  83. "34":"y",
  84. "35":"y",
  85. "36":"y",
  86. "37":"y",
  87. "38":"y",
  88. "39":"y",
  89. "40":"y",
  90. "41":"y",
  91. "42":"y",
  92. "43":"y",
  93. "44":"y",
  94. "45":"y",
  95. "46":"y",
  96. "47":"y",
  97. "48":"y",
  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. },
  112. "chrome":{
  113. "4":"n",
  114. "5":"n",
  115. "6":"n",
  116. "7":"n",
  117. "8":"n",
  118. "9":"n",
  119. "10":"y",
  120. "11":"y",
  121. "12":"y",
  122. "13":"y",
  123. "14":"y",
  124. "15":"y",
  125. "16":"y",
  126. "17":"y",
  127. "18":"y",
  128. "19":"y",
  129. "20":"y",
  130. "21":"y",
  131. "22":"y",
  132. "23":"y",
  133. "24":"y",
  134. "25":"y",
  135. "26":"y",
  136. "27":"y",
  137. "28":"y",
  138. "29":"y",
  139. "30":"y",
  140. "31":"y",
  141. "32":"y",
  142. "33":"y",
  143. "34":"y",
  144. "35":"y",
  145. "36":"y",
  146. "37":"y",
  147. "38":"y",
  148. "39":"y",
  149. "40":"y",
  150. "41":"y",
  151. "42":"y",
  152. "43":"y",
  153. "44":"y",
  154. "45":"y",
  155. "46":"y",
  156. "47":"y",
  157. "48":"y",
  158. "49":"y",
  159. "50":"y",
  160. "51":"y",
  161. "52":"y",
  162. "53":"y",
  163. "54":"y",
  164. "55":"y",
  165. "56":"y",
  166. "57":"y",
  167. "58":"y",
  168. "59":"y",
  169. "60":"y",
  170. "61":"y",
  171. "62":"y",
  172. "63":"y",
  173. "64":"y",
  174. "65":"y",
  175. "66":"y",
  176. "67":"y"
  177. },
  178. "safari":{
  179. "3.1":"n",
  180. "3.2":"n",
  181. "4":"n",
  182. "5":"a #1",
  183. "5.1":"a #1",
  184. "6":"a #1",
  185. "6.1":"a #1",
  186. "7":"a #1",
  187. "7.1":"a #1",
  188. "8":"a #1",
  189. "9":"a #1",
  190. "9.1":"a #1",
  191. "10":"a #1",
  192. "10.1":"y",
  193. "11":"y",
  194. "11.1":"y",
  195. "TP":"y"
  196. },
  197. "opera":{
  198. "9":"n",
  199. "9.5-9.6":"n",
  200. "10.0-10.1":"y",
  201. "10.5":"y",
  202. "10.6":"y",
  203. "11":"y",
  204. "11.1":"y",
  205. "11.5":"y",
  206. "11.6":"y",
  207. "12":"y",
  208. "12.1":"y",
  209. "15":"y",
  210. "16":"y",
  211. "17":"y",
  212. "18":"y",
  213. "19":"y",
  214. "20":"y",
  215. "21":"y",
  216. "22":"y",
  217. "23":"y",
  218. "24":"y",
  219. "25":"y",
  220. "26":"y",
  221. "27":"y",
  222. "28":"y",
  223. "29":"y",
  224. "30":"y",
  225. "31":"y",
  226. "32":"y",
  227. "33":"y",
  228. "34":"y",
  229. "35":"y",
  230. "36":"y",
  231. "37":"y",
  232. "38":"y",
  233. "39":"y",
  234. "40":"y",
  235. "41":"y",
  236. "42":"y",
  237. "43":"y",
  238. "44":"y",
  239. "45":"y",
  240. "46":"y",
  241. "47":"y",
  242. "48":"y",
  243. "49":"y",
  244. "50":"y",
  245. "51":"y",
  246. "52":"y"
  247. },
  248. "ios_saf":{
  249. "3.2":"n",
  250. "4.0-4.1":"a #1",
  251. "4.2-4.3":"a #1",
  252. "5.0-5.1":"a #1",
  253. "6.0-6.1":"a #1",
  254. "7.0-7.1":"a #1",
  255. "8":"a #1",
  256. "8.1-8.4":"a #1",
  257. "9.0-9.2":"a #1",
  258. "9.3":"a #1",
  259. "10.0-10.2":"a #1",
  260. "10.3":"y",
  261. "11.0-11.2":"y",
  262. "11.3":"y"
  263. },
  264. "op_mini":{
  265. "all":"a #3"
  266. },
  267. "android":{
  268. "2.1":"n",
  269. "2.2":"n",
  270. "2.3":"n",
  271. "3":"n",
  272. "4":"a #1",
  273. "4.1":"a #1",
  274. "4.2-4.3":"a #1",
  275. "4.4":"a #1",
  276. "4.4.3-4.4.4":"y",
  277. "62":"y"
  278. },
  279. "bb":{
  280. "7":"a #1",
  281. "10":"y"
  282. },
  283. "op_mob":{
  284. "10":"y",
  285. "11":"y",
  286. "11.1":"y",
  287. "11.5":"y",
  288. "12":"y",
  289. "12.1":"y",
  290. "37":"y"
  291. },
  292. "and_chr":{
  293. "64":"y"
  294. },
  295. "and_ff":{
  296. "57":"y"
  297. },
  298. "ie_mob":{
  299. "10":"a #2",
  300. "11":"a #2"
  301. },
  302. "and_uc":{
  303. "11.8":"y"
  304. },
  305. "samsung":{
  306. "4":"y",
  307. "5":"y",
  308. "6.2":"y"
  309. },
  310. "and_qq":{
  311. "1.2":"y"
  312. },
  313. "baidu":{
  314. "7.12":"y"
  315. }
  316. },
  317. "notes":"",
  318. "notes_by_num":{
  319. "1":"Partial support refers to lack of notice when form with required fields is attempted to be submitted. See [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=28649).",
  320. "2":"Partial support in IE10 mobile refers to lack of warning when blocking submission.",
  321. "3":"Partial support in Opera Mini refers to only supporting the CSS pseudo classes."
  322. },
  323. "usage_perc_y":91.7,
  324. "usage_perc_a":6.06,
  325. "ucprefix":false,
  326. "parent":"forms",
  327. "keywords":"",
  328. "ie_id":"",
  329. "chrome_id":"6091813840486400",
  330. "firefox_id":"",
  331. "webkit_id":"feature-html-interactive-form-validation",
  332. "shown":true
  333. }