css-default-pseudo.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. {
  2. "title":":default CSS pseudo-class",
  3. "description":"The `:default` pseudo-class matches checkboxes and radio buttons which are checked by default, `<option>`s with the `selected` attribute, and the default submit button (if any) of a form.",
  4. "spec":"https://drafts.csswg.org/selectors-4/#the-default-pseudo",
  5. "status":"unoff",
  6. "links":[
  7. {
  8. "url":"https://html.spec.whatwg.org/multipage/scripting.html#selector-default",
  9. "title":"HTML specification for `:default`"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/:default",
  13. "title":"Mozilla Developer Network article"
  14. },
  15. {
  16. "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/13311459--default-pseudo-class-from-selectors-level-4",
  17. "title":"MS Edge feature request on UserVoice"
  18. },
  19. {
  20. "url":"http://jsbin.com/hiyada/edit?html,css,output",
  21. "title":"JS Bin testcase"
  22. },
  23. {
  24. "url":"https://bugs.webkit.org/show_bug.cgi?id=156230",
  25. "title":"WebKit bug 156230 - `:default` CSS pseudo-class should match checkboxes+radios with a `checked` attribute"
  26. }
  27. ],
  28. "bugs":[
  29. ],
  30. "categories":[
  31. "CSS"
  32. ],
  33. "stats":{
  34. "ie":{
  35. "5.5":"n",
  36. "6":"n",
  37. "7":"n",
  38. "8":"n",
  39. "9":"n",
  40. "10":"n",
  41. "11":"n"
  42. },
  43. "edge":{
  44. "12":"n",
  45. "13":"n",
  46. "14":"n"
  47. },
  48. "firefox":{
  49. "2":"u",
  50. "3":"u",
  51. "3.5":"u",
  52. "3.6":"u",
  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. },
  104. "chrome":{
  105. "4":"u",
  106. "5":"u",
  107. "6":"u",
  108. "7":"u",
  109. "8":"u",
  110. "9":"u",
  111. "10":"u",
  112. "11":"u",
  113. "12":"u",
  114. "13":"u",
  115. "14":"u",
  116. "15":"a #1",
  117. "16":"a #1",
  118. "17":"a #1",
  119. "18":"a #1",
  120. "19":"a #1",
  121. "20":"a #1",
  122. "21":"a #1",
  123. "22":"a #1",
  124. "23":"a #1",
  125. "24":"a #1",
  126. "25":"a #1",
  127. "26":"a #1",
  128. "27":"a #1",
  129. "28":"a #1",
  130. "29":"a #1",
  131. "30":"a #1",
  132. "31":"a #1",
  133. "32":"a #1",
  134. "33":"a #1",
  135. "34":"a #1",
  136. "35":"a #1",
  137. "36":"a #1",
  138. "37":"a #1",
  139. "38":"a #1",
  140. "39":"a #1",
  141. "40":"a #1",
  142. "41":"a #1",
  143. "42":"a #1",
  144. "43":"a #1",
  145. "44":"a #1",
  146. "45":"a #1",
  147. "46":"a #1",
  148. "47":"a #1",
  149. "48":"a #1",
  150. "49":"a #1",
  151. "50":"a #1",
  152. "51":"y",
  153. "52":"y",
  154. "53":"y",
  155. "54":"y",
  156. "55":"y",
  157. "56":"y",
  158. "57":"y"
  159. },
  160. "safari":{
  161. "3.1":"u",
  162. "3.2":"u",
  163. "4":"u",
  164. "5":"u",
  165. "5.1":"a #1",
  166. "6":"a #1",
  167. "6.1":"a #1",
  168. "7":"a #1",
  169. "7.1":"a #1",
  170. "8":"a #1",
  171. "9":"a #1",
  172. "9.1":"a #1",
  173. "10":"a #1",
  174. "TP":"y"
  175. },
  176. "opera":{
  177. "9":"u",
  178. "9.5-9.6":"u",
  179. "10.0-10.1":"u",
  180. "10.5":"u",
  181. "10.6":"u",
  182. "11":"u",
  183. "11.1":"u",
  184. "11.5":"u",
  185. "11.6":"a #2",
  186. "12":"a #2",
  187. "12.1":"a #2",
  188. "15":"a #1",
  189. "16":"a #1",
  190. "17":"a #1",
  191. "18":"a #1",
  192. "19":"a #1",
  193. "20":"a #1",
  194. "21":"a #1",
  195. "22":"a #1",
  196. "23":"a #1",
  197. "24":"a #1",
  198. "25":"a #1",
  199. "26":"a #1",
  200. "27":"a #1",
  201. "28":"a #1",
  202. "29":"a #1",
  203. "30":"a #1",
  204. "31":"a #1",
  205. "32":"a #1",
  206. "33":"a #1",
  207. "34":"a #1",
  208. "35":"a #1",
  209. "36":"a #1",
  210. "37":"a #1",
  211. "38":"y",
  212. "39":"y",
  213. "40":"y",
  214. "41":"y",
  215. "42":"y",
  216. "43":"y"
  217. },
  218. "ios_saf":{
  219. "3.2":"u",
  220. "4.0-4.1":"u",
  221. "4.2-4.3":"u",
  222. "5.0-5.1":"u",
  223. "6.0-6.1":"u",
  224. "7.0-7.1":"a #1",
  225. "8":"a #1",
  226. "8.1-8.4":"a #1",
  227. "9.0-9.2":"a #1",
  228. "9.3":"a #1",
  229. "10-10.1":"a #1"
  230. },
  231. "op_mini":{
  232. "all":"a #2"
  233. },
  234. "android":{
  235. "2.1":"u",
  236. "2.2":"u",
  237. "2.3":"u",
  238. "3":"u",
  239. "4":"a #1",
  240. "4.1":"a #1",
  241. "4.2-4.3":"a #1",
  242. "4.4":"a #1",
  243. "4.4.3-4.4.4":"a #1",
  244. "53":"y"
  245. },
  246. "bb":{
  247. "7":"u",
  248. "10":"a #1"
  249. },
  250. "op_mob":{
  251. "10":"u",
  252. "11":"u",
  253. "11.1":"u",
  254. "11.5":"u",
  255. "12":"u",
  256. "12.1":"a #2",
  257. "37":"a #1"
  258. },
  259. "and_chr":{
  260. "54":"y"
  261. },
  262. "and_ff":{
  263. "50":"y"
  264. },
  265. "ie_mob":{
  266. "10":"n",
  267. "11":"n"
  268. },
  269. "and_uc":{
  270. "11":"a #1"
  271. },
  272. "samsung":{
  273. "4":"a #1"
  274. }
  275. },
  276. "notes":"Whether `<option selected>` matches `:default` (per the spec) was not tested since `<select>`s and `<option>`s are generally not styleable, which makes it hard to formulate a test for this.",
  277. "notes_by_num":{
  278. "1":"Does not match `<input type=\"checkbox\" checked>` or `<input type=\"radio\" checked>`",
  279. "2":"Does not match the default submit button of a form"
  280. },
  281. "usage_perc_y":56.04,
  282. "usage_perc_a":35,
  283. "ucprefix":false,
  284. "parent":"",
  285. "keywords":":default,default",
  286. "ie_id":"",
  287. "chrome_id":"",
  288. "firefox_id":"",
  289. "webkit_id":"",
  290. "shown":true
  291. }