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

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