css-placeholder.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. {
  2. "title":"::placeholder CSS pseudo-element",
  3. "description":"The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text `YYYY/MM/DD` to clarify that numeric dates are to be entered in year-month-day order.",
  4. "spec":"http://dev.w3.org/csswg/css-pseudo-4/#placeholder-pseudo",
  5. "status":"wd",
  6. "links":[
  7. {
  8. "url":"http://msdn.microsoft.com/en-us/library/ie/hh772745(v=vs.85).aspx",
  9. "title":"MSDN article"
  10. },
  11. {
  12. "url":"http://css-tricks.com/snippets/css/style-placeholder-text/",
  13. "title":"CSS-Tricks article with all prefixes"
  14. },
  15. {
  16. "url":"http://wiki.csswg.org/ideas/placeholder-styling",
  17. "title":"CSSWG discussion"
  18. },
  19. {
  20. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/::-moz-placeholder",
  21. "title":"MDN article"
  22. },
  23. {
  24. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1069012",
  25. "title":"Mozilla Bug 1069012 - unprefix :placeholder-shown pseudo-class and ::placeholder pseudo-element"
  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":"a x",
  41. "11":"a x"
  42. },
  43. "edge":{
  44. "12":"a x",
  45. "13":"a x",
  46. "14":"a x",
  47. "15":"a x"
  48. },
  49. "firefox":{
  50. "2":"n",
  51. "3":"n",
  52. "3.5":"n",
  53. "3.6":"n",
  54. "4":"a x #1",
  55. "5":"a x #1",
  56. "6":"a x #1",
  57. "7":"a x #1",
  58. "8":"a x #1",
  59. "9":"a x #1",
  60. "10":"a x #1",
  61. "11":"a x #1",
  62. "12":"a x #1",
  63. "13":"a x #1",
  64. "14":"a x #1",
  65. "15":"a x #1",
  66. "16":"a x #1",
  67. "17":"a x #1",
  68. "18":"a x #1",
  69. "19":"y x",
  70. "20":"y x",
  71. "21":"y x",
  72. "22":"y x",
  73. "23":"y x",
  74. "24":"y x",
  75. "25":"y x",
  76. "26":"y x",
  77. "27":"y x",
  78. "28":"y x",
  79. "29":"y x",
  80. "30":"y x",
  81. "31":"y x",
  82. "32":"y x",
  83. "33":"y x",
  84. "34":"y x",
  85. "35":"y x",
  86. "36":"y x",
  87. "37":"y x",
  88. "38":"y x",
  89. "39":"y x",
  90. "40":"y x",
  91. "41":"y x",
  92. "42":"y x",
  93. "43":"y x",
  94. "44":"y x",
  95. "45":"y x",
  96. "46":"y x",
  97. "47":"y x",
  98. "48":"y x",
  99. "49":"y x",
  100. "50":"y x",
  101. "51":"y",
  102. "52":"y",
  103. "53":"y"
  104. },
  105. "chrome":{
  106. "4":"a x",
  107. "5":"a x",
  108. "6":"a x",
  109. "7":"a x",
  110. "8":"a x",
  111. "9":"a x",
  112. "10":"a x",
  113. "11":"a x",
  114. "12":"a x",
  115. "13":"a x",
  116. "14":"a x",
  117. "15":"a x",
  118. "16":"a x",
  119. "17":"a x",
  120. "18":"a x",
  121. "19":"a x",
  122. "20":"a x",
  123. "21":"a x",
  124. "22":"a x",
  125. "23":"a x",
  126. "24":"a x",
  127. "25":"a x",
  128. "26":"a x",
  129. "27":"a x",
  130. "28":"a x",
  131. "29":"a x",
  132. "30":"a x",
  133. "31":"a x",
  134. "32":"a x",
  135. "33":"a x",
  136. "34":"a x",
  137. "35":"a x",
  138. "36":"a x",
  139. "37":"a x",
  140. "38":"a x",
  141. "39":"a x",
  142. "40":"a x",
  143. "41":"a x",
  144. "42":"a x",
  145. "43":"a x",
  146. "44":"a x",
  147. "45":"a x",
  148. "46":"a x",
  149. "47":"a x",
  150. "48":"a x",
  151. "49":"a x",
  152. "50":"a x",
  153. "51":"a x",
  154. "52":"a x",
  155. "53":"a x",
  156. "54":"a x",
  157. "55":"a x",
  158. "56":"a x",
  159. "57":"y",
  160. "58":"y"
  161. },
  162. "safari":{
  163. "3.1":"n",
  164. "3.2":"n",
  165. "4":"n",
  166. "5":"a x",
  167. "5.1":"a x",
  168. "6":"a x",
  169. "6.1":"a x",
  170. "7":"a x",
  171. "7.1":"a x",
  172. "8":"a x",
  173. "9":"a x",
  174. "9.1":"a x",
  175. "10":"a x",
  176. "TP":"y"
  177. },
  178. "opera":{
  179. "9":"n",
  180. "9.5-9.6":"n",
  181. "10.0-10.1":"n",
  182. "10.5":"n",
  183. "10.6":"n",
  184. "11":"n",
  185. "11.1":"n",
  186. "11.5":"n",
  187. "11.6":"n",
  188. "12":"n",
  189. "12.1":"n",
  190. "15":"a x",
  191. "16":"a x",
  192. "17":"a x",
  193. "18":"a x",
  194. "19":"a x",
  195. "20":"a x",
  196. "21":"a x",
  197. "22":"a x",
  198. "23":"a x",
  199. "24":"a x",
  200. "25":"a x",
  201. "26":"a x",
  202. "27":"a x",
  203. "28":"a x",
  204. "29":"a x",
  205. "30":"a x",
  206. "31":"a x",
  207. "32":"a x",
  208. "33":"a x",
  209. "34":"a x",
  210. "35":"a x",
  211. "36":"a x",
  212. "37":"a x",
  213. "38":"a x",
  214. "39":"a x",
  215. "40":"a x",
  216. "41":"a x",
  217. "42":"a x",
  218. "43":"y",
  219. "44":"y"
  220. },
  221. "ios_saf":{
  222. "3.2":"n",
  223. "4.0-4.1":"n",
  224. "4.2-4.3":"a x",
  225. "5.0-5.1":"a x",
  226. "6.0-6.1":"a x",
  227. "7.0-7.1":"a x",
  228. "8":"a x",
  229. "8.1-8.4":"a x",
  230. "9.0-9.2":"a x",
  231. "9.3":"a x",
  232. "10-10.1":"a x"
  233. },
  234. "op_mini":{
  235. "all":"n"
  236. },
  237. "android":{
  238. "2.1":"a x",
  239. "2.2":"a x",
  240. "2.3":"a x",
  241. "3":"a x",
  242. "4":"a x",
  243. "4.1":"a x",
  244. "4.2-4.3":"a x",
  245. "4.4":"a x",
  246. "4.4.3-4.4.4":"a x",
  247. "53":"a x"
  248. },
  249. "bb":{
  250. "7":"a x",
  251. "10":"a x"
  252. },
  253. "op_mob":{
  254. "10":"n",
  255. "11":"n",
  256. "11.1":"n",
  257. "11.5":"n",
  258. "12":"n",
  259. "12.1":"n",
  260. "37":"a x"
  261. },
  262. "and_chr":{
  263. "55":"a x"
  264. },
  265. "and_ff":{
  266. "50":"y x"
  267. },
  268. "ie_mob":{
  269. "10":"a x",
  270. "11":"a x"
  271. },
  272. "and_uc":{
  273. "11":"a x"
  274. },
  275. "samsung":{
  276. "4":"a x"
  277. }
  278. },
  279. "notes":"Partial support refers to using alternate names:\r\n`::-webkit-input-placeholder` for Chrome/Safari/Opera ([Chrome issue #623345](https://bugs.chromium.org/p/chromium/issues/detail?id=623345))\r\n`:-ms-input-placeholder` for IE. \r\n`::-ms-input-placeholder` for Edge (also supports webkit prefix)",
  280. "notes_by_num":{
  281. "1":"Firefox 18 and below supported the `:-moz-placeholder` pseudo-class rather than the `::-moz-placeholder` pseudo-element."
  282. },
  283. "usage_perc_y":6.53,
  284. "usage_perc_a":86.29,
  285. "ucprefix":false,
  286. "parent":"",
  287. "keywords":"::placeholder,placeholder",
  288. "ie_id":"",
  289. "chrome_id":"",
  290. "firefox_id":"",
  291. "webkit_id":"",
  292. "shown":true
  293. }