css-first-letter.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. {
  2. "title":"::first-letter CSS pseudo-element selector",
  3. "description":"CSS pseudo-element that allows styling only the first \"letter\" of text within an element. Useful for implementing initial caps or drop caps styling.",
  4. "spec":"http://www.w3.org/TR/css3-selectors/#first-letter",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter",
  9. "title":"Mozilla Developer Network"
  10. }
  11. ],
  12. "bugs":[
  13. {
  14. "description":"In webkit-based browsers first character of text inside elements, styled with `::first-letter`, is not highlighted while selecting the text. [See bug](https://bugs.webkit.org/show_bug.cgi?id=6185)"
  15. },
  16. {
  17. "description":"Firefox appears to incorrectly cut off the top & bottom of a `::first-letter` character in certain cases [see Firefox bug #1233271](https://bugzilla.mozilla.org/show_bug.cgi?id=1233271)"
  18. }
  19. ],
  20. "categories":[
  21. "CSS"
  22. ],
  23. "stats":{
  24. "ie":{
  25. "5.5":"u",
  26. "6":"a #3 #4",
  27. "7":"a #3 #4",
  28. "8":"a #3",
  29. "9":"y",
  30. "10":"y",
  31. "11":"y"
  32. },
  33. "edge":{
  34. "12":"y",
  35. "13":"y",
  36. "14":"y",
  37. "15":"y"
  38. },
  39. "firefox":{
  40. "2":"a #2",
  41. "3":"a #1",
  42. "3.5":"y",
  43. "3.6":"y",
  44. "4":"y",
  45. "5":"y",
  46. "6":"y",
  47. "7":"y",
  48. "8":"y",
  49. "9":"y",
  50. "10":"y",
  51. "11":"y",
  52. "12":"y",
  53. "13":"y",
  54. "14":"y",
  55. "15":"y",
  56. "16":"y",
  57. "17":"y",
  58. "18":"y",
  59. "19":"y",
  60. "20":"y",
  61. "21":"y",
  62. "22":"y",
  63. "23":"y",
  64. "24":"y",
  65. "25":"y",
  66. "26":"y",
  67. "27":"y",
  68. "28":"y",
  69. "29":"y",
  70. "30":"y",
  71. "31":"y",
  72. "32":"y",
  73. "33":"y",
  74. "34":"y",
  75. "35":"y",
  76. "36":"y",
  77. "37":"y",
  78. "38":"y",
  79. "39":"y",
  80. "40":"y",
  81. "41":"y",
  82. "42":"y",
  83. "43":"y",
  84. "44":"y",
  85. "45":"y",
  86. "46":"y",
  87. "47":"y",
  88. "48":"y",
  89. "49":"y",
  90. "50":"y",
  91. "51":"y",
  92. "52":"y",
  93. "53":"y"
  94. },
  95. "chrome":{
  96. "4":"a #1",
  97. "5":"u",
  98. "6":"u",
  99. "7":"u",
  100. "8":"u",
  101. "9":"y",
  102. "10":"y",
  103. "11":"y",
  104. "12":"y",
  105. "13":"y",
  106. "14":"y",
  107. "15":"y",
  108. "16":"y",
  109. "17":"y",
  110. "18":"y",
  111. "19":"y",
  112. "20":"y",
  113. "21":"y",
  114. "22":"y",
  115. "23":"y",
  116. "24":"y",
  117. "25":"y",
  118. "26":"y",
  119. "27":"y",
  120. "28":"y",
  121. "29":"y",
  122. "30":"y",
  123. "31":"y",
  124. "32":"y",
  125. "33":"y",
  126. "34":"y",
  127. "35":"y",
  128. "36":"y",
  129. "37":"y",
  130. "38":"y",
  131. "39":"y",
  132. "40":"y",
  133. "41":"y",
  134. "42":"y",
  135. "43":"y",
  136. "44":"y",
  137. "45":"y",
  138. "46":"y",
  139. "47":"y",
  140. "48":"y",
  141. "49":"y",
  142. "50":"y",
  143. "51":"y",
  144. "52":"y",
  145. "53":"y",
  146. "54":"y",
  147. "55":"y",
  148. "56":"y",
  149. "57":"y",
  150. "58":"y"
  151. },
  152. "safari":{
  153. "3.1":"u",
  154. "3.2":"a #1",
  155. "4":"a #1",
  156. "5":"u",
  157. "5.1":"y",
  158. "6":"y",
  159. "6.1":"y",
  160. "7":"y",
  161. "7.1":"y",
  162. "8":"y",
  163. "9":"y",
  164. "9.1":"y",
  165. "10":"y",
  166. "TP":"y"
  167. },
  168. "opera":{
  169. "9":"u",
  170. "9.5-9.6":"u",
  171. "10.0-10.1":"a #2",
  172. "10.5":"a #2",
  173. "10.6":"a #2",
  174. "11":"a #2",
  175. "11.1":"a #2",
  176. "11.5":"a #2",
  177. "11.6":"y",
  178. "12":"y",
  179. "12.1":"y",
  180. "15":"y",
  181. "16":"y",
  182. "17":"y",
  183. "18":"y",
  184. "19":"y",
  185. "20":"y",
  186. "21":"y",
  187. "22":"y",
  188. "23":"y",
  189. "24":"y",
  190. "25":"y",
  191. "26":"y",
  192. "27":"y",
  193. "28":"y",
  194. "29":"y",
  195. "30":"y",
  196. "31":"y",
  197. "32":"y",
  198. "33":"y",
  199. "34":"y",
  200. "35":"y",
  201. "36":"y",
  202. "37":"y",
  203. "38":"y",
  204. "39":"y",
  205. "40":"y",
  206. "41":"y",
  207. "42":"y",
  208. "43":"y",
  209. "44":"y"
  210. },
  211. "ios_saf":{
  212. "3.2":"u",
  213. "4.0-4.1":"u",
  214. "4.2-4.3":"u",
  215. "5.0-5.1":"y",
  216. "6.0-6.1":"y",
  217. "7.0-7.1":"y",
  218. "8":"y",
  219. "8.1-8.4":"y",
  220. "9.0-9.2":"y",
  221. "9.3":"y",
  222. "10-10.1":"y"
  223. },
  224. "op_mini":{
  225. "all":"y"
  226. },
  227. "android":{
  228. "2.1":"u",
  229. "2.2":"u",
  230. "2.3":"a #1",
  231. "3":"y",
  232. "4":"y",
  233. "4.1":"y",
  234. "4.2-4.3":"y",
  235. "4.4":"y",
  236. "4.4.3-4.4.4":"y",
  237. "53":"y"
  238. },
  239. "bb":{
  240. "7":"y",
  241. "10":"y"
  242. },
  243. "op_mob":{
  244. "10":"a #2",
  245. "11":"a #2",
  246. "11.1":"a #2",
  247. "11.5":"a #2",
  248. "12":"y",
  249. "12.1":"y",
  250. "37":"y"
  251. },
  252. "and_chr":{
  253. "55":"y"
  254. },
  255. "and_ff":{
  256. "50":"y"
  257. },
  258. "ie_mob":{
  259. "10":"y",
  260. "11":"y"
  261. },
  262. "and_uc":{
  263. "11":"y"
  264. },
  265. "samsung":{
  266. "4":"y"
  267. }
  268. },
  269. "notes":"The spec says that both letters of digraphs which are always capitalized together (such as \"IJ\" in Dutch) should be matched by ::first-letter, but no browser has ever implemented this.",
  270. "notes_by_num":{
  271. "1":"Excludes punctuation immediately after the first letter from the match. (The spec says it should be included in the match.)",
  272. "2":"Acts like the first character is always a letter even when it's not. For example, given \"!,X;\", \"!,\" is matched instead of the entire string.",
  273. "3":"Only recognizes the deprecated :first-letter pseudo-class, not the ::first-letter pseudo-element.",
  274. "4":"Only matches the very first character. The spec says that surrounding punctuation should also match."
  275. },
  276. "usage_perc_y":97.53,
  277. "usage_perc_a":0.59,
  278. "ucprefix":false,
  279. "parent":"",
  280. "keywords":"first,letter,pseudo,element,class,selector",
  281. "ie_id":"",
  282. "chrome_id":"",
  283. "firefox_id":"",
  284. "webkit_id":"",
  285. "shown":true
  286. }