Нет описания

css-in-out-of-range.json 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. {
  2. "title":":in-range and :out-of-range CSS pseudo-classes",
  3. "description":"If a temporal or number `<input>` has `max` and/or `min` attributes, then `:in-range` matches when the value is within the specified range and `:out-of-range` matches when the value is outside the specified range. If there are no range constraints, then neither pseudo-class matches.",
  4. "spec":"https://www.w3.org/TR/selectors4/#range-pseudos",
  5. "status":"wd",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/:out-of-range",
  9. "title":"MDN Web Docs - CSS :out-of-range"
  10. },
  11. {
  12. "url":"https://html.spec.whatwg.org/multipage/scripting.html#selector-in-range",
  13. "title":"WHATWG HTML specification for `:in-range` and `:out-of-range`"
  14. }
  15. ],
  16. "bugs":[
  17. ],
  18. "categories":[
  19. "CSS"
  20. ],
  21. "stats":{
  22. "ie":{
  23. "5.5":"n",
  24. "6":"n",
  25. "7":"n",
  26. "8":"n",
  27. "9":"n",
  28. "10":"n",
  29. "11":"n"
  30. },
  31. "edge":{
  32. "12":"n",
  33. "13":"a #2",
  34. "14":"a #2",
  35. "15":"a #2",
  36. "16":"a #2",
  37. "17":"a #2"
  38. },
  39. "firefox":{
  40. "2":"n",
  41. "3":"n",
  42. "3.5":"n",
  43. "3.6":"n",
  44. "4":"n",
  45. "5":"n",
  46. "6":"n",
  47. "7":"n",
  48. "8":"n",
  49. "9":"n",
  50. "10":"n",
  51. "11":"n",
  52. "12":"n",
  53. "13":"n",
  54. "14":"n",
  55. "15":"n",
  56. "16":"n",
  57. "17":"n",
  58. "18":"n",
  59. "19":"n",
  60. "20":"n",
  61. "21":"n",
  62. "22":"n",
  63. "23":"n",
  64. "24":"n",
  65. "25":"n",
  66. "26":"n",
  67. "27":"n",
  68. "28":"n",
  69. "29":"a #3",
  70. "30":"a #3",
  71. "31":"a #3",
  72. "32":"a #3",
  73. "33":"a #3",
  74. "34":"a #3",
  75. "35":"a #3",
  76. "36":"a #3",
  77. "37":"a #3",
  78. "38":"a #3",
  79. "39":"a #3",
  80. "40":"a #3",
  81. "41":"a #3",
  82. "42":"a #3",
  83. "43":"a #3",
  84. "44":"a #3",
  85. "45":"a #3",
  86. "46":"a #3",
  87. "47":"a #3",
  88. "48":"a #3",
  89. "49":"a #3",
  90. "50":"y",
  91. "51":"y",
  92. "52":"y",
  93. "53":"y",
  94. "54":"y",
  95. "55":"y",
  96. "56":"y",
  97. "57":"y",
  98. "58":"y",
  99. "59":"y",
  100. "60":"y",
  101. "61":"y"
  102. },
  103. "chrome":{
  104. "4":"n",
  105. "5":"u",
  106. "6":"u",
  107. "7":"u",
  108. "8":"u",
  109. "9":"u",
  110. "10":"u",
  111. "11":"u",
  112. "12":"u",
  113. "13":"u",
  114. "14":"u",
  115. "15":"a #2 #3",
  116. "16":"a #2 #3",
  117. "17":"a #2 #3",
  118. "18":"a #2 #3",
  119. "19":"a #2 #3",
  120. "20":"a #2 #3",
  121. "21":"a #2 #3",
  122. "22":"a #2 #3",
  123. "23":"a #2 #3",
  124. "24":"a #2 #3",
  125. "25":"a #2 #3",
  126. "26":"a #2 #3",
  127. "27":"a #2 #3",
  128. "28":"a #2 #3",
  129. "29":"a #2 #3",
  130. "30":"a #2 #3",
  131. "31":"a #2 #3",
  132. "32":"a #2 #3",
  133. "33":"a #2 #3",
  134. "34":"a #2 #3",
  135. "35":"a #2 #3",
  136. "36":"a #2 #3",
  137. "37":"a #2 #3",
  138. "38":"a #2 #3",
  139. "39":"a #2 #3",
  140. "40":"a #2 #3",
  141. "41":"a #2 #3",
  142. "42":"a #2 #3",
  143. "43":"a #2 #3",
  144. "44":"a #2 #3",
  145. "45":"a #2 #3",
  146. "46":"a #2 #3",
  147. "47":"a #2 #3",
  148. "48":"a #2 #3",
  149. "49":"a #2 #3",
  150. "50":"a #2 #3",
  151. "51":"a #2 #3",
  152. "52":"a #2",
  153. "53":"y",
  154. "54":"y",
  155. "55":"y",
  156. "56":"y",
  157. "57":"y",
  158. "58":"y",
  159. "59":"y",
  160. "60":"y",
  161. "61":"y",
  162. "62":"y",
  163. "63":"y",
  164. "64":"y",
  165. "65":"y",
  166. "66":"y",
  167. "67":"y"
  168. },
  169. "safari":{
  170. "3.1":"n",
  171. "3.2":"n",
  172. "4":"n",
  173. "5":"u",
  174. "5.1":"a #2 #3",
  175. "6":"a #2 #3",
  176. "6.1":"a #2 #3",
  177. "7":"a #2 #3",
  178. "7.1":"a #2 #3",
  179. "8":"a #2 #3",
  180. "9":"a #2 #3",
  181. "9.1":"a #2 #3",
  182. "10":"a #2 #3",
  183. "10.1":"y",
  184. "11":"y",
  185. "11.1":"y",
  186. "TP":"y"
  187. },
  188. "opera":{
  189. "9":"u",
  190. "9.5-9.6":"u",
  191. "10.0-10.1":"a #2",
  192. "10.5":"a #2",
  193. "10.6":"a #2",
  194. "11":"a #2",
  195. "11.1":"a #2",
  196. "11.5":"a #2",
  197. "11.6":"a #2",
  198. "12":"a #2",
  199. "12.1":"a #2",
  200. "15":"a #2 #3",
  201. "16":"a #2 #3",
  202. "17":"a #2 #3",
  203. "18":"a #2 #3",
  204. "19":"a #2 #3",
  205. "20":"a #2 #3",
  206. "21":"a #2 #3",
  207. "22":"a #2 #3",
  208. "23":"a #2 #3",
  209. "24":"a #2 #3",
  210. "25":"a #2 #3",
  211. "26":"a #2 #3",
  212. "27":"a #2 #3",
  213. "28":"a #2 #3",
  214. "29":"a #2 #3",
  215. "30":"a #2 #3",
  216. "31":"a #2 #3",
  217. "32":"a #2 #3",
  218. "33":"a #2 #3",
  219. "34":"a #2 #3",
  220. "35":"a #2 #3",
  221. "36":"a #2 #3",
  222. "37":"a #2 #3",
  223. "38":"a #2 #3",
  224. "39":"a #2",
  225. "40":"y",
  226. "41":"y",
  227. "42":"y",
  228. "43":"y",
  229. "44":"y",
  230. "45":"y",
  231. "46":"y",
  232. "47":"y",
  233. "48":"y",
  234. "49":"y",
  235. "50":"y",
  236. "51":"y",
  237. "52":"y"
  238. },
  239. "ios_saf":{
  240. "3.2":"n",
  241. "4.0-4.1":"n",
  242. "4.2-4.3":"n",
  243. "5.0-5.1":"a #2 #3",
  244. "6.0-6.1":"a #2 #3",
  245. "7.0-7.1":"a #2 #3",
  246. "8":"a #2 #3",
  247. "8.1-8.4":"a #2 #3",
  248. "9.0-9.2":"a #2 #3",
  249. "9.3":"a #2 #3",
  250. "10.0-10.2":"a #2 #3",
  251. "10.3":"y",
  252. "11.0-11.2":"y",
  253. "11.3":"y"
  254. },
  255. "op_mini":{
  256. "all":"a #1"
  257. },
  258. "android":{
  259. "2.1":"n",
  260. "2.2":"n",
  261. "2.3":"n",
  262. "3":"n",
  263. "4":"a #2",
  264. "4.1":"a #2",
  265. "4.2-4.3":"a #2",
  266. "4.4":"a #2",
  267. "4.4.3-4.4.4":"a #2",
  268. "62":"y"
  269. },
  270. "bb":{
  271. "7":"n",
  272. "10":"a #2"
  273. },
  274. "op_mob":{
  275. "10":"a #2",
  276. "11":"a #2",
  277. "11.1":"a #2",
  278. "11.5":"a #2",
  279. "12":"a #2",
  280. "12.1":"a #2",
  281. "37":"a #2"
  282. },
  283. "and_chr":{
  284. "64":"y"
  285. },
  286. "and_ff":{
  287. "57":"y"
  288. },
  289. "ie_mob":{
  290. "10":"n",
  291. "11":"n"
  292. },
  293. "and_uc":{
  294. "11.8":"y"
  295. },
  296. "samsung":{
  297. "4":"a #2",
  298. "5":"y",
  299. "6.2":"y"
  300. },
  301. "and_qq":{
  302. "1.2":"y"
  303. },
  304. "baidu":{
  305. "7.12":"y"
  306. }
  307. },
  308. "notes":"Note that `<input type=\"range\">` can never match `:out-of-range` because the user cannot input such a value, and if the initial value is outside the range, the browser immediately clamps it to the minimum or maximum (as appropriate) bound of the range.",
  309. "notes_by_num":{
  310. "1":"Opera Mini correctly applies style on initial load, but does not correctly update when value is changed.",
  311. "2":"`:in-range` also incorrectly matches temporal and `number` inputs which don't have `min` or `max` attributes. See [Edge bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7200501/), [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=603268), [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=156558).",
  312. "3":"`:in-range` and `:out-of-range` incorrectly match inputs which are disabled or readonly. See [Edge bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7190958/), [Mozilla bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1264157), [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=156530), [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=602568)."
  313. },
  314. "usage_perc_y":82.63,
  315. "usage_perc_a":11.71,
  316. "ucprefix":false,
  317. "parent":"",
  318. "keywords":"in,out,of,range,:in-range,:out-of-range",
  319. "ie_id":"cssrangepseudoclasses",
  320. "chrome_id":"",
  321. "firefox_id":"",
  322. "webkit_id":"",
  323. "shown":true
  324. }