rem.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. {
  2. "title":"rem (root em) units",
  3. "description":"Type of unit similar to `em`, but relative only to the root element, not any parent element. Thus compounding does not occur as it does with `em` units.",
  4. "spec":"http://www.w3.org/TR/css3-values/#font-relative-lengths",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"http://snook.ca/archives/html_and_css/font-size-with-rem",
  9. "title":"Article on usage"
  10. },
  11. {
  12. "url":"https://github.com/chuckcarpenter/REM-unit-polyfill",
  13. "title":"REM Polyfill"
  14. }
  15. ],
  16. "bugs":[
  17. {
  18. "description":"IE 9, 10 and 11 do not support rem units when used in the \"line-height\" property when used on :before and :after pseudo elements (https://connect.microsoft.com/IE/feedback/details/776744)."
  19. },
  20. {
  21. "description":"Borders sized in \"rem\" disappear when the page is zoomed out in Chrome."
  22. },
  23. {
  24. "description":"Reportedly does not work on Android 4.3 browser for Samsung Note II or the Samsung Galaxy Tab 2 on Android 4.2."
  25. },
  26. {
  27. "description":"Chrome 31-34 & Chrome-based Android versions (like 4.4) [have a font size bug](https://code.google.com/p/chromium/issues/detail?id=319623) that occurs when the root element has a percentage-based size."
  28. },
  29. {
  30. "description":"Causes content display and scrolling issues on iPhone 4 which typically has Safari 5.1."
  31. }
  32. ],
  33. "categories":[
  34. "CSS3"
  35. ],
  36. "stats":{
  37. "ie":{
  38. "5.5":"n",
  39. "6":"n",
  40. "7":"n",
  41. "8":"n",
  42. "9":"a #1",
  43. "10":"a #1",
  44. "11":"y"
  45. },
  46. "edge":{
  47. "12":"y",
  48. "13":"y",
  49. "14":"y",
  50. "15":"y"
  51. },
  52. "firefox":{
  53. "2":"n",
  54. "3":"n",
  55. "3.5":"n",
  56. "3.6":"y",
  57. "4":"y",
  58. "5":"y",
  59. "6":"y",
  60. "7":"y",
  61. "8":"y",
  62. "9":"y",
  63. "10":"y",
  64. "11":"y",
  65. "12":"y",
  66. "13":"y",
  67. "14":"y",
  68. "15":"y",
  69. "16":"y",
  70. "17":"y",
  71. "18":"y",
  72. "19":"y",
  73. "20":"y",
  74. "21":"y",
  75. "22":"y",
  76. "23":"y",
  77. "24":"y",
  78. "25":"y",
  79. "26":"y",
  80. "27":"y",
  81. "28":"y",
  82. "29":"y",
  83. "30":"y",
  84. "31":"y",
  85. "32":"y",
  86. "33":"y",
  87. "34":"y",
  88. "35":"y",
  89. "36":"y",
  90. "37":"y",
  91. "38":"y",
  92. "39":"y",
  93. "40":"y",
  94. "41":"y",
  95. "42":"y",
  96. "43":"y",
  97. "44":"y",
  98. "45":"y",
  99. "46":"y",
  100. "47":"y",
  101. "48":"y",
  102. "49":"y",
  103. "50":"y",
  104. "51":"y",
  105. "52":"y",
  106. "53":"y"
  107. },
  108. "chrome":{
  109. "4":"y",
  110. "5":"y",
  111. "6":"y",
  112. "7":"y",
  113. "8":"y",
  114. "9":"y",
  115. "10":"y",
  116. "11":"y",
  117. "12":"y",
  118. "13":"y",
  119. "14":"y",
  120. "15":"y",
  121. "16":"y",
  122. "17":"y",
  123. "18":"y",
  124. "19":"y",
  125. "20":"y",
  126. "21":"y",
  127. "22":"y",
  128. "23":"y",
  129. "24":"y",
  130. "25":"y",
  131. "26":"y",
  132. "27":"y",
  133. "28":"y",
  134. "29":"y",
  135. "30":"y",
  136. "31":"y",
  137. "32":"y",
  138. "33":"y",
  139. "34":"y",
  140. "35":"y",
  141. "36":"y",
  142. "37":"y",
  143. "38":"y",
  144. "39":"y",
  145. "40":"y",
  146. "41":"y",
  147. "42":"y",
  148. "43":"y",
  149. "44":"y",
  150. "45":"y",
  151. "46":"y",
  152. "47":"y",
  153. "48":"y",
  154. "49":"y",
  155. "50":"y",
  156. "51":"y",
  157. "52":"y",
  158. "53":"y",
  159. "54":"y",
  160. "55":"y",
  161. "56":"y",
  162. "57":"y",
  163. "58":"y"
  164. },
  165. "safari":{
  166. "3.1":"n",
  167. "3.2":"n",
  168. "4":"n",
  169. "5":"y",
  170. "5.1":"y",
  171. "6":"y",
  172. "6.1":"y",
  173. "7":"y",
  174. "7.1":"y",
  175. "8":"y",
  176. "9":"y",
  177. "9.1":"y",
  178. "10":"y",
  179. "TP":"y"
  180. },
  181. "opera":{
  182. "9":"n",
  183. "9.5-9.6":"n",
  184. "10.0-10.1":"n",
  185. "10.5":"n",
  186. "10.6":"n",
  187. "11":"n",
  188. "11.1":"n",
  189. "11.5":"n",
  190. "11.6":"y",
  191. "12":"y",
  192. "12.1":"y",
  193. "15":"y",
  194. "16":"y",
  195. "17":"y",
  196. "18":"y",
  197. "19":"y",
  198. "20":"y",
  199. "21":"y",
  200. "22":"y",
  201. "23":"y",
  202. "24":"y",
  203. "25":"y",
  204. "26":"y",
  205. "27":"y",
  206. "28":"y",
  207. "29":"y",
  208. "30":"y",
  209. "31":"y",
  210. "32":"y",
  211. "33":"y",
  212. "34":"y",
  213. "35":"y",
  214. "36":"y",
  215. "37":"y",
  216. "38":"y",
  217. "39":"y",
  218. "40":"y",
  219. "41":"y",
  220. "42":"y",
  221. "43":"y",
  222. "44":"y"
  223. },
  224. "ios_saf":{
  225. "3.2":"n",
  226. "4.0-4.1":"y",
  227. "4.2-4.3":"y",
  228. "5.0-5.1":"a #2",
  229. "6.0-6.1":"y",
  230. "7.0-7.1":"y",
  231. "8":"y",
  232. "8.1-8.4":"y",
  233. "9.0-9.2":"y",
  234. "9.3":"y",
  235. "10-10.1":"y"
  236. },
  237. "op_mini":{
  238. "all":"y"
  239. },
  240. "android":{
  241. "2.1":"y",
  242. "2.2":"y",
  243. "2.3":"y",
  244. "3":"y",
  245. "4":"y",
  246. "4.1":"y",
  247. "4.2-4.3":"y",
  248. "4.4":"y",
  249. "4.4.3-4.4.4":"y",
  250. "53":"y"
  251. },
  252. "bb":{
  253. "7":"y",
  254. "10":"y"
  255. },
  256. "op_mob":{
  257. "10":"n",
  258. "11":"n",
  259. "11.1":"n",
  260. "11.5":"n",
  261. "12":"y",
  262. "12.1":"y",
  263. "37":"y"
  264. },
  265. "and_chr":{
  266. "55":"y"
  267. },
  268. "and_ff":{
  269. "50":"y"
  270. },
  271. "ie_mob":{
  272. "10":"y",
  273. "11":"y"
  274. },
  275. "and_uc":{
  276. "11":"y"
  277. },
  278. "samsung":{
  279. "4":"y"
  280. }
  281. },
  282. "notes":"",
  283. "notes_by_num":{
  284. "1":"IE 9 & IE 10 do not support `rem` units when used in the `font` shorthand property (the entire declaration is ignored) or when used on pseudo elements.",
  285. "2":"iOS Safari 5.0-5.1 support `rem` but not in combination with media queries."
  286. },
  287. "usage_perc_y":97.09,
  288. "usage_perc_a":0.5,
  289. "ucprefix":false,
  290. "parent":"",
  291. "keywords":"rems",
  292. "ie_id":"",
  293. "chrome_id":"",
  294. "firefox_id":"",
  295. "webkit_id":"",
  296. "shown":true
  297. }