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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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":"http://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":"Mozilla Developer Network (MDN) documentation - 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. },
  38. "firefox":{
  39. "2":"n",
  40. "3":"n",
  41. "3.5":"n",
  42. "3.6":"n",
  43. "4":"n",
  44. "5":"n",
  45. "6":"n",
  46. "7":"n",
  47. "8":"n",
  48. "9":"n",
  49. "10":"n",
  50. "11":"n",
  51. "12":"n",
  52. "13":"n",
  53. "14":"n",
  54. "15":"n",
  55. "16":"n",
  56. "17":"n",
  57. "18":"n",
  58. "19":"n",
  59. "20":"n",
  60. "21":"n",
  61. "22":"n",
  62. "23":"n",
  63. "24":"n",
  64. "25":"n",
  65. "26":"n",
  66. "27":"n",
  67. "28":"n",
  68. "29":"a #3",
  69. "30":"a #3",
  70. "31":"a #3",
  71. "32":"a #3",
  72. "33":"a #3",
  73. "34":"a #3",
  74. "35":"a #3",
  75. "36":"a #3",
  76. "37":"a #3",
  77. "38":"a #3",
  78. "39":"a #3",
  79. "40":"a #3",
  80. "41":"a #3",
  81. "42":"a #3",
  82. "43":"a #3",
  83. "44":"a #3",
  84. "45":"a #3",
  85. "46":"a #3",
  86. "47":"a #3",
  87. "48":"a #3",
  88. "49":"a #3",
  89. "50":"y",
  90. "51":"y",
  91. "52":"y",
  92. "53":"y",
  93. "54":"y",
  94. "55":"y",
  95. "56":"y",
  96. "57":"y"
  97. },
  98. "chrome":{
  99. "4":"n",
  100. "5":"u",
  101. "6":"u",
  102. "7":"u",
  103. "8":"u",
  104. "9":"u",
  105. "10":"u",
  106. "11":"u",
  107. "12":"u",
  108. "13":"u",
  109. "14":"u",
  110. "15":"a #2 #3",
  111. "16":"a #2 #3",
  112. "17":"a #2 #3",
  113. "18":"a #2 #3",
  114. "19":"a #2 #3",
  115. "20":"a #2 #3",
  116. "21":"a #2 #3",
  117. "22":"a #2 #3",
  118. "23":"a #2 #3",
  119. "24":"a #2 #3",
  120. "25":"a #2 #3",
  121. "26":"a #2 #3",
  122. "27":"a #2 #3",
  123. "28":"a #2 #3",
  124. "29":"a #2 #3",
  125. "30":"a #2 #3",
  126. "31":"a #2 #3",
  127. "32":"a #2 #3",
  128. "33":"a #2 #3",
  129. "34":"a #2 #3",
  130. "35":"a #2 #3",
  131. "36":"a #2 #3",
  132. "37":"a #2 #3",
  133. "38":"a #2 #3",
  134. "39":"a #2 #3",
  135. "40":"a #2 #3",
  136. "41":"a #2 #3",
  137. "42":"a #2 #3",
  138. "43":"a #2 #3",
  139. "44":"a #2 #3",
  140. "45":"a #2 #3",
  141. "46":"a #2 #3",
  142. "47":"a #2 #3",
  143. "48":"a #2 #3",
  144. "49":"a #2 #3",
  145. "50":"a #2 #3",
  146. "51":"a #2 #3",
  147. "52":"a #2",
  148. "53":"y",
  149. "54":"y",
  150. "55":"y",
  151. "56":"y",
  152. "57":"y",
  153. "58":"y",
  154. "59":"y",
  155. "60":"y",
  156. "61":"y",
  157. "62":"y",
  158. "63":"y"
  159. },
  160. "safari":{
  161. "3.1":"n",
  162. "3.2":"n",
  163. "4":"n",
  164. "5":"u",
  165. "5.1":"a #2 #3",
  166. "6":"a #2 #3",
  167. "6.1":"a #2 #3",
  168. "7":"a #2 #3",
  169. "7.1":"a #2 #3",
  170. "8":"a #2 #3",
  171. "9":"a #2 #3",
  172. "9.1":"a #2 #3",
  173. "10":"a #2 #3",
  174. "10.1":"y",
  175. "11":"y",
  176. "TP":"y"
  177. },
  178. "opera":{
  179. "9":"u",
  180. "9.5-9.6":"u",
  181. "10.0-10.1":"a #2",
  182. "10.5":"a #2",
  183. "10.6":"a #2",
  184. "11":"a #2",
  185. "11.1":"a #2",
  186. "11.5":"a #2",
  187. "11.6":"a #2",
  188. "12":"a #2",
  189. "12.1":"a #2",
  190. "15":"a #2 #3",
  191. "16":"a #2 #3",
  192. "17":"a #2 #3",
  193. "18":"a #2 #3",
  194. "19":"a #2 #3",
  195. "20":"a #2 #3",
  196. "21":"a #2 #3",
  197. "22":"a #2 #3",
  198. "23":"a #2 #3",
  199. "24":"a #2 #3",
  200. "25":"a #2 #3",
  201. "26":"a #2 #3",
  202. "27":"a #2 #3",
  203. "28":"a #2 #3",
  204. "29":"a #2 #3",
  205. "30":"a #2 #3",
  206. "31":"a #2 #3",
  207. "32":"a #2 #3",
  208. "33":"a #2 #3",
  209. "34":"a #2 #3",
  210. "35":"a #2 #3",
  211. "36":"a #2 #3",
  212. "37":"a #2 #3",
  213. "38":"a #2 #3",
  214. "39":"a #2",
  215. "40":"y",
  216. "41":"y",
  217. "42":"y",
  218. "43":"y",
  219. "44":"y",
  220. "45":"y",
  221. "46":"y",
  222. "47":"y",
  223. "48":"y"
  224. },
  225. "ios_saf":{
  226. "3.2":"n",
  227. "4.0-4.1":"n",
  228. "4.2-4.3":"n",
  229. "5.0-5.1":"a #2 #3",
  230. "6.0-6.1":"a #2 #3",
  231. "7.0-7.1":"a #2 #3",
  232. "8":"a #2 #3",
  233. "8.1-8.4":"a #2 #3",
  234. "9.0-9.2":"a #2 #3",
  235. "9.3":"a #2 #3",
  236. "10.0-10.2":"a #2 #3",
  237. "10.3":"y",
  238. "11":"y"
  239. },
  240. "op_mini":{
  241. "all":"a #1"
  242. },
  243. "android":{
  244. "2.1":"n",
  245. "2.2":"n",
  246. "2.3":"n",
  247. "3":"n",
  248. "4":"a #2",
  249. "4.1":"a #2",
  250. "4.2-4.3":"a #2",
  251. "4.4":"a #2",
  252. "4.4.3-4.4.4":"a #2",
  253. "56":"y"
  254. },
  255. "bb":{
  256. "7":"n",
  257. "10":"a #2"
  258. },
  259. "op_mob":{
  260. "10":"a #2",
  261. "11":"a #2",
  262. "11.1":"a #2",
  263. "11.5":"a #2",
  264. "12":"a #2",
  265. "12.1":"a #2",
  266. "37":"a #2"
  267. },
  268. "and_chr":{
  269. "59":"y"
  270. },
  271. "and_ff":{
  272. "54":"y"
  273. },
  274. "ie_mob":{
  275. "10":"n",
  276. "11":"n"
  277. },
  278. "and_uc":{
  279. "11.4":"a #2"
  280. },
  281. "samsung":{
  282. "4":"a #2",
  283. "5":"y"
  284. },
  285. "and_qq":{
  286. "1.2":"y"
  287. },
  288. "baidu":{
  289. "7.12":"y"
  290. }
  291. },
  292. "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.",
  293. "notes_by_num":{
  294. "1":"Opera Mini correctly applies style on initial load, but does not correctly update when value is changed.",
  295. "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).",
  296. "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)."
  297. },
  298. "usage_perc_y":67.63,
  299. "usage_perc_a":25.57,
  300. "ucprefix":false,
  301. "parent":"",
  302. "keywords":"in,out,of,range,:in-range,:out-of-range",
  303. "ie_id":"cssrangepseudoclasses",
  304. "chrome_id":"",
  305. "firefox_id":"",
  306. "webkit_id":"",
  307. "shown":true
  308. }