暫無描述

css-placeholder.json 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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":"https://drafts.csswg.org/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":"https://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 Web Docs - CSS ::-moz-placeholder"
  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. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder",
  29. "title":"MDN web docs - ::placeholder"
  30. }
  31. ],
  32. "bugs":[
  33. ],
  34. "categories":[
  35. "CSS"
  36. ],
  37. "stats":{
  38. "ie":{
  39. "5.5":"n",
  40. "6":"n",
  41. "7":"n",
  42. "8":"n",
  43. "9":"n",
  44. "10":"a x",
  45. "11":"a x"
  46. },
  47. "edge":{
  48. "12":"a x",
  49. "13":"a x",
  50. "14":"a x",
  51. "15":"a x",
  52. "16":"a x",
  53. "17":"a x"
  54. },
  55. "firefox":{
  56. "2":"n",
  57. "3":"n",
  58. "3.5":"n",
  59. "3.6":"n",
  60. "4":"a x #1",
  61. "5":"a x #1",
  62. "6":"a x #1",
  63. "7":"a x #1",
  64. "8":"a x #1",
  65. "9":"a x #1",
  66. "10":"a x #1",
  67. "11":"a x #1",
  68. "12":"a x #1",
  69. "13":"a x #1",
  70. "14":"a x #1",
  71. "15":"a x #1",
  72. "16":"a x #1",
  73. "17":"a x #1",
  74. "18":"a x #1",
  75. "19":"y x",
  76. "20":"y x",
  77. "21":"y x",
  78. "22":"y x",
  79. "23":"y x",
  80. "24":"y x",
  81. "25":"y x",
  82. "26":"y x",
  83. "27":"y x",
  84. "28":"y x",
  85. "29":"y x",
  86. "30":"y x",
  87. "31":"y x",
  88. "32":"y x",
  89. "33":"y x",
  90. "34":"y x",
  91. "35":"y x",
  92. "36":"y x",
  93. "37":"y x",
  94. "38":"y x",
  95. "39":"y x",
  96. "40":"y x",
  97. "41":"y x",
  98. "42":"y x",
  99. "43":"y x",
  100. "44":"y x",
  101. "45":"y x",
  102. "46":"y x",
  103. "47":"y x",
  104. "48":"y x",
  105. "49":"y x",
  106. "50":"y x",
  107. "51":"y",
  108. "52":"y",
  109. "53":"y",
  110. "54":"y",
  111. "55":"y",
  112. "56":"y",
  113. "57":"y",
  114. "58":"y",
  115. "59":"y",
  116. "60":"y",
  117. "61":"y"
  118. },
  119. "chrome":{
  120. "4":"a x",
  121. "5":"a x",
  122. "6":"a x",
  123. "7":"a x",
  124. "8":"a x",
  125. "9":"a x",
  126. "10":"a x",
  127. "11":"a x",
  128. "12":"a x",
  129. "13":"a x",
  130. "14":"a x",
  131. "15":"a x",
  132. "16":"a x",
  133. "17":"a x",
  134. "18":"a x",
  135. "19":"a x",
  136. "20":"a x",
  137. "21":"a x",
  138. "22":"a x",
  139. "23":"a x",
  140. "24":"a x",
  141. "25":"a x",
  142. "26":"a x",
  143. "27":"a x",
  144. "28":"a x",
  145. "29":"a x",
  146. "30":"a x",
  147. "31":"a x",
  148. "32":"a x",
  149. "33":"a x",
  150. "34":"a x",
  151. "35":"a x",
  152. "36":"a x",
  153. "37":"a x",
  154. "38":"a x",
  155. "39":"a x",
  156. "40":"a x",
  157. "41":"a x",
  158. "42":"a x",
  159. "43":"a x",
  160. "44":"a x",
  161. "45":"a x",
  162. "46":"a x",
  163. "47":"a x",
  164. "48":"a x",
  165. "49":"a x",
  166. "50":"a x",
  167. "51":"a x",
  168. "52":"a x",
  169. "53":"a x",
  170. "54":"a x",
  171. "55":"a x",
  172. "56":"a x",
  173. "57":"y",
  174. "58":"y",
  175. "59":"y",
  176. "60":"y",
  177. "61":"y",
  178. "62":"y",
  179. "63":"y",
  180. "64":"y",
  181. "65":"y",
  182. "66":"y",
  183. "67":"y"
  184. },
  185. "safari":{
  186. "3.1":"n",
  187. "3.2":"n",
  188. "4":"n",
  189. "5":"a x",
  190. "5.1":"a x",
  191. "6":"a x",
  192. "6.1":"a x",
  193. "7":"a x",
  194. "7.1":"a x",
  195. "8":"a x",
  196. "9":"a x",
  197. "9.1":"a x",
  198. "10":"a x",
  199. "10.1":"y",
  200. "11":"y",
  201. "11.1":"y",
  202. "TP":"y"
  203. },
  204. "opera":{
  205. "9":"n",
  206. "9.5-9.6":"n",
  207. "10.0-10.1":"n",
  208. "10.5":"n",
  209. "10.6":"n",
  210. "11":"n",
  211. "11.1":"n",
  212. "11.5":"n",
  213. "11.6":"n",
  214. "12":"n",
  215. "12.1":"n",
  216. "15":"a x",
  217. "16":"a x",
  218. "17":"a x",
  219. "18":"a x",
  220. "19":"a x",
  221. "20":"a x",
  222. "21":"a x",
  223. "22":"a x",
  224. "23":"a x",
  225. "24":"a x",
  226. "25":"a x",
  227. "26":"a x",
  228. "27":"a x",
  229. "28":"a x",
  230. "29":"a x",
  231. "30":"a x",
  232. "31":"a x",
  233. "32":"a x",
  234. "33":"a x",
  235. "34":"a x",
  236. "35":"a x",
  237. "36":"a x",
  238. "37":"a x",
  239. "38":"a x",
  240. "39":"a x",
  241. "40":"a x",
  242. "41":"a x",
  243. "42":"a x",
  244. "43":"a x",
  245. "44":"y",
  246. "45":"y",
  247. "46":"y",
  248. "47":"y",
  249. "48":"y",
  250. "49":"y",
  251. "50":"y",
  252. "51":"y",
  253. "52":"y"
  254. },
  255. "ios_saf":{
  256. "3.2":"n",
  257. "4.0-4.1":"n",
  258. "4.2-4.3":"a x",
  259. "5.0-5.1":"a x",
  260. "6.0-6.1":"a x",
  261. "7.0-7.1":"a x",
  262. "8":"a x",
  263. "8.1-8.4":"a x",
  264. "9.0-9.2":"a x",
  265. "9.3":"a x",
  266. "10.0-10.2":"a x",
  267. "10.3":"y",
  268. "11.0-11.2":"y",
  269. "11.3":"y"
  270. },
  271. "op_mini":{
  272. "all":"n"
  273. },
  274. "android":{
  275. "2.1":"a x",
  276. "2.2":"a x",
  277. "2.3":"a x",
  278. "3":"a x",
  279. "4":"a x",
  280. "4.1":"a x",
  281. "4.2-4.3":"a x",
  282. "4.4":"a x",
  283. "4.4.3-4.4.4":"a x",
  284. "62":"y"
  285. },
  286. "bb":{
  287. "7":"a x",
  288. "10":"a x"
  289. },
  290. "op_mob":{
  291. "10":"n",
  292. "11":"n",
  293. "11.1":"n",
  294. "11.5":"n",
  295. "12":"n",
  296. "12.1":"n",
  297. "37":"a x"
  298. },
  299. "and_chr":{
  300. "64":"y"
  301. },
  302. "and_ff":{
  303. "57":"y"
  304. },
  305. "ie_mob":{
  306. "10":"a x",
  307. "11":"a x"
  308. },
  309. "and_uc":{
  310. "11.8":"y"
  311. },
  312. "samsung":{
  313. "4":"a x",
  314. "5":"a x",
  315. "6.2":"a x"
  316. },
  317. "and_qq":{
  318. "1.2":"a x"
  319. },
  320. "baidu":{
  321. "7.12":"y"
  322. }
  323. },
  324. "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)",
  325. "notes_by_num":{
  326. "1":"Firefox 18 and below supported the `:-moz-placeholder` pseudo-class rather than the `::-moz-placeholder` pseudo-element."
  327. },
  328. "usage_perc_y":80.56,
  329. "usage_perc_a":14.15,
  330. "ucprefix":false,
  331. "parent":"",
  332. "keywords":"::placeholder,placeholder",
  333. "ie_id":"",
  334. "chrome_id":"6715780926275584",
  335. "firefox_id":"",
  336. "webkit_id":"",
  337. "shown":true
  338. }