rem.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. },
  51. "firefox":{
  52. "2":"n",
  53. "3":"n",
  54. "3.5":"n",
  55. "3.6":"y",
  56. "4":"y",
  57. "5":"y",
  58. "6":"y",
  59. "7":"y",
  60. "8":"y",
  61. "9":"y",
  62. "10":"y",
  63. "11":"y",
  64. "12":"y",
  65. "13":"y",
  66. "14":"y",
  67. "15":"y",
  68. "16":"y",
  69. "17":"y",
  70. "18":"y",
  71. "19":"y",
  72. "20":"y",
  73. "21":"y",
  74. "22":"y",
  75. "23":"y",
  76. "24":"y",
  77. "25":"y",
  78. "26":"y",
  79. "27":"y",
  80. "28":"y",
  81. "29":"y",
  82. "30":"y",
  83. "31":"y",
  84. "32":"y",
  85. "33":"y",
  86. "34":"y",
  87. "35":"y",
  88. "36":"y",
  89. "37":"y",
  90. "38":"y",
  91. "39":"y",
  92. "40":"y",
  93. "41":"y",
  94. "42":"y",
  95. "43":"y",
  96. "44":"y",
  97. "45":"y",
  98. "46":"y",
  99. "47":"y",
  100. "48":"y",
  101. "49":"y",
  102. "50":"y",
  103. "51":"y",
  104. "52":"y",
  105. "53":"y"
  106. },
  107. "chrome":{
  108. "4":"y",
  109. "5":"y",
  110. "6":"y",
  111. "7":"y",
  112. "8":"y",
  113. "9":"y",
  114. "10":"y",
  115. "11":"y",
  116. "12":"y",
  117. "13":"y",
  118. "14":"y",
  119. "15":"y",
  120. "16":"y",
  121. "17":"y",
  122. "18":"y",
  123. "19":"y",
  124. "20":"y",
  125. "21":"y",
  126. "22":"y",
  127. "23":"y",
  128. "24":"y",
  129. "25":"y",
  130. "26":"y",
  131. "27":"y",
  132. "28":"y",
  133. "29":"y",
  134. "30":"y",
  135. "31":"y",
  136. "32":"y",
  137. "33":"y",
  138. "34":"y",
  139. "35":"y",
  140. "36":"y",
  141. "37":"y",
  142. "38":"y",
  143. "39":"y",
  144. "40":"y",
  145. "41":"y",
  146. "42":"y",
  147. "43":"y",
  148. "44":"y",
  149. "45":"y",
  150. "46":"y",
  151. "47":"y",
  152. "48":"y",
  153. "49":"y",
  154. "50":"y",
  155. "51":"y",
  156. "52":"y",
  157. "53":"y",
  158. "54":"y",
  159. "55":"y",
  160. "56":"y",
  161. "57":"y"
  162. },
  163. "safari":{
  164. "3.1":"n",
  165. "3.2":"n",
  166. "4":"n",
  167. "5":"y",
  168. "5.1":"y",
  169. "6":"y",
  170. "6.1":"y",
  171. "7":"y",
  172. "7.1":"y",
  173. "8":"y",
  174. "9":"y",
  175. "9.1":"y",
  176. "10":"y",
  177. "TP":"y"
  178. },
  179. "opera":{
  180. "9":"n",
  181. "9.5-9.6":"n",
  182. "10.0-10.1":"n",
  183. "10.5":"n",
  184. "10.6":"n",
  185. "11":"n",
  186. "11.1":"n",
  187. "11.5":"n",
  188. "11.6":"y",
  189. "12":"y",
  190. "12.1":"y",
  191. "15":"y",
  192. "16":"y",
  193. "17":"y",
  194. "18":"y",
  195. "19":"y",
  196. "20":"y",
  197. "21":"y",
  198. "22":"y",
  199. "23":"y",
  200. "24":"y",
  201. "25":"y",
  202. "26":"y",
  203. "27":"y",
  204. "28":"y",
  205. "29":"y",
  206. "30":"y",
  207. "31":"y",
  208. "32":"y",
  209. "33":"y",
  210. "34":"y",
  211. "35":"y",
  212. "36":"y",
  213. "37":"y",
  214. "38":"y",
  215. "39":"y",
  216. "40":"y",
  217. "41":"y",
  218. "42":"y",
  219. "43":"y"
  220. },
  221. "ios_saf":{
  222. "3.2":"n",
  223. "4.0-4.1":"y",
  224. "4.2-4.3":"y",
  225. "5.0-5.1":"a #2",
  226. "6.0-6.1":"y",
  227. "7.0-7.1":"y",
  228. "8":"y",
  229. "8.1-8.4":"y",
  230. "9.0-9.2":"y",
  231. "9.3":"y",
  232. "10-10.1":"y"
  233. },
  234. "op_mini":{
  235. "all":"y"
  236. },
  237. "android":{
  238. "2.1":"y",
  239. "2.2":"y",
  240. "2.3":"y",
  241. "3":"y",
  242. "4":"y",
  243. "4.1":"y",
  244. "4.2-4.3":"y",
  245. "4.4":"y",
  246. "4.4.3-4.4.4":"y",
  247. "53":"y"
  248. },
  249. "bb":{
  250. "7":"y",
  251. "10":"y"
  252. },
  253. "op_mob":{
  254. "10":"n",
  255. "11":"n",
  256. "11.1":"n",
  257. "11.5":"n",
  258. "12":"y",
  259. "12.1":"y",
  260. "37":"y"
  261. },
  262. "and_chr":{
  263. "54":"y"
  264. },
  265. "and_ff":{
  266. "50":"y"
  267. },
  268. "ie_mob":{
  269. "10":"y",
  270. "11":"y"
  271. },
  272. "and_uc":{
  273. "11":"y"
  274. },
  275. "samsung":{
  276. "4":"y"
  277. }
  278. },
  279. "notes":"",
  280. "notes_by_num":{
  281. "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.",
  282. "2":"iOS Safari 5.0-5.1 support `rem` but not in combination with media queries."
  283. },
  284. "usage_perc_y":97.01,
  285. "usage_perc_a":0.52,
  286. "ucprefix":false,
  287. "parent":"",
  288. "keywords":"rems",
  289. "ie_id":"",
  290. "chrome_id":"",
  291. "firefox_id":"",
  292. "webkit_id":"",
  293. "shown":true
  294. }