Нема описа

getboundingclientrect.json 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. {
  2. "title":"Element.getBoundingClientRect()",
  3. "description":"Method to get the size and position of an element's bounding box, relative to the viewport.",
  4. "spec":"https://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect",
  5. "status":"wd",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect",
  9. "title":"MDN Web Docs - getBoundingClientRect"
  10. },
  11. {
  12. "url":"https://msdn.microsoft.com/en-us/library/ms536433(VS.85).aspx",
  13. "title":"Microsoft Developer Network"
  14. }
  15. ],
  16. "bugs":[
  17. {
  18. "description":"In IE<=11, calling getBoundingClientRect on an element outside of the DOM throws an unspecified error instead of returning a 0x0 DOMRect. See [IE bug #829392.](https://connect.microsoft.com/IE/feedback/details/829392/calling-getboundingclientrect-on-an-html-element-that-has-not-been-added-to-the-dom-causes-unspecified-error)"
  19. },
  20. {
  21. "description":"Really old versions of Safari and Chrome gave incorrect results for SVG elements. See [Chromium issue #47998.](https://code.google.com/p/chromium/issues/detail?id=47998)"
  22. },
  23. {
  24. "description":"Safari and Chrome give incorrect results for elements that have the nonstandard `zoom` CSS property applied to them. See [WebKit bug #77998.](https://bugs.webkit.org/show_bug.cgi?id=77998)"
  25. }
  26. ],
  27. "categories":[
  28. "JS API"
  29. ],
  30. "stats":{
  31. "ie":{
  32. "5.5":"a #1 #3",
  33. "6":"a #1 #3",
  34. "7":"a #1 #3",
  35. "8":"a #1 #3",
  36. "9":"y",
  37. "10":"y",
  38. "11":"y"
  39. },
  40. "edge":{
  41. "12":"y",
  42. "13":"y",
  43. "14":"y",
  44. "15":"y",
  45. "16":"y",
  46. "17":"y"
  47. },
  48. "firefox":{
  49. "2":"n",
  50. "3":"a #1 #4",
  51. "3.5":"a #2 #4",
  52. "3.6":"a #2 #3 #4",
  53. "4":"a #2",
  54. "5":"a #2",
  55. "6":"a #2",
  56. "7":"a #2",
  57. "8":"a #2",
  58. "9":"a #2",
  59. "10":"a #2",
  60. "11":"a #2",
  61. "12":"y",
  62. "13":"y",
  63. "14":"y",
  64. "15":"y",
  65. "16":"y",
  66. "17":"y",
  67. "18":"y",
  68. "19":"y",
  69. "20":"y",
  70. "21":"y",
  71. "22":"y",
  72. "23":"y",
  73. "24":"y",
  74. "25":"y",
  75. "26":"y",
  76. "27":"y",
  77. "28":"y",
  78. "29":"y",
  79. "30":"y",
  80. "31":"y",
  81. "32":"y",
  82. "33":"y",
  83. "34":"y",
  84. "35":"y",
  85. "36":"y",
  86. "37":"y",
  87. "38":"y",
  88. "39":"y",
  89. "40":"y",
  90. "41":"y",
  91. "42":"y",
  92. "43":"y",
  93. "44":"y",
  94. "45":"y",
  95. "46":"y",
  96. "47":"y",
  97. "48":"y",
  98. "49":"y",
  99. "50":"y",
  100. "51":"y",
  101. "52":"y",
  102. "53":"y",
  103. "54":"y",
  104. "55":"y",
  105. "56":"y",
  106. "57":"y",
  107. "58":"y",
  108. "59":"y",
  109. "60":"y",
  110. "61":"y"
  111. },
  112. "chrome":{
  113. "4":"y",
  114. "5":"y",
  115. "6":"y",
  116. "7":"y",
  117. "8":"y",
  118. "9":"y",
  119. "10":"y",
  120. "11":"y",
  121. "12":"y",
  122. "13":"y",
  123. "14":"y",
  124. "15":"y",
  125. "16":"y",
  126. "17":"y",
  127. "18":"y",
  128. "19":"y",
  129. "20":"y",
  130. "21":"y",
  131. "22":"y",
  132. "23":"y",
  133. "24":"y",
  134. "25":"y",
  135. "26":"y",
  136. "27":"y",
  137. "28":"y",
  138. "29":"y",
  139. "30":"y",
  140. "31":"y",
  141. "32":"y",
  142. "33":"y",
  143. "34":"y",
  144. "35":"y",
  145. "36":"y",
  146. "37":"y",
  147. "38":"y",
  148. "39":"y",
  149. "40":"y",
  150. "41":"y",
  151. "42":"y",
  152. "43":"y",
  153. "44":"y",
  154. "45":"y",
  155. "46":"y",
  156. "47":"y",
  157. "48":"y",
  158. "49":"y",
  159. "50":"y",
  160. "51":"y",
  161. "52":"y",
  162. "53":"y",
  163. "54":"y",
  164. "55":"y",
  165. "56":"y",
  166. "57":"y",
  167. "58":"y",
  168. "59":"y",
  169. "60":"y",
  170. "61":"y",
  171. "62":"y",
  172. "63":"y",
  173. "64":"y",
  174. "65":"y",
  175. "66":"y",
  176. "67":"y"
  177. },
  178. "safari":{
  179. "3.1":"u",
  180. "3.2":"u",
  181. "4":"y",
  182. "5":"y",
  183. "5.1":"y",
  184. "6":"y",
  185. "6.1":"y",
  186. "7":"y",
  187. "7.1":"y",
  188. "8":"y",
  189. "9":"y",
  190. "9.1":"y",
  191. "10":"y",
  192. "10.1":"y",
  193. "11":"y",
  194. "11.1":"y",
  195. "TP":"y"
  196. },
  197. "opera":{
  198. "9":"u",
  199. "9.5-9.6":"u",
  200. "10.0-10.1":"a #1",
  201. "10.5":"a #1",
  202. "10.6":"y",
  203. "11":"y",
  204. "11.1":"y",
  205. "11.5":"y",
  206. "11.6":"y",
  207. "12":"y",
  208. "12.1":"y",
  209. "15":"y",
  210. "16":"y",
  211. "17":"y",
  212. "18":"y",
  213. "19":"y",
  214. "20":"y",
  215. "21":"y",
  216. "22":"y",
  217. "23":"y",
  218. "24":"y",
  219. "25":"y",
  220. "26":"y",
  221. "27":"y",
  222. "28":"y",
  223. "29":"y",
  224. "30":"y",
  225. "31":"y",
  226. "32":"y",
  227. "33":"y",
  228. "34":"y",
  229. "35":"y",
  230. "36":"y",
  231. "37":"y",
  232. "38":"y",
  233. "39":"y",
  234. "40":"y",
  235. "41":"y",
  236. "42":"y",
  237. "43":"y",
  238. "44":"y",
  239. "45":"y",
  240. "46":"y",
  241. "47":"y",
  242. "48":"y",
  243. "49":"y",
  244. "50":"y",
  245. "51":"y",
  246. "52":"y"
  247. },
  248. "ios_saf":{
  249. "3.2":"u",
  250. "4.0-4.1":"y",
  251. "4.2-4.3":"y",
  252. "5.0-5.1":"y",
  253. "6.0-6.1":"y",
  254. "7.0-7.1":"y",
  255. "8":"y",
  256. "8.1-8.4":"y",
  257. "9.0-9.2":"y",
  258. "9.3":"y",
  259. "10.0-10.2":"y",
  260. "10.3":"y",
  261. "11.0-11.2":"y",
  262. "11.3":"y"
  263. },
  264. "op_mini":{
  265. "all":"y"
  266. },
  267. "android":{
  268. "2.1":"u",
  269. "2.2":"u",
  270. "2.3":"y",
  271. "3":"y",
  272. "4":"y",
  273. "4.1":"y",
  274. "4.2-4.3":"y",
  275. "4.4":"y",
  276. "4.4.3-4.4.4":"y",
  277. "62":"y"
  278. },
  279. "bb":{
  280. "7":"y",
  281. "10":"y"
  282. },
  283. "op_mob":{
  284. "10":"a #1",
  285. "11":"y",
  286. "11.1":"y",
  287. "11.5":"y",
  288. "12":"y",
  289. "12.1":"y",
  290. "37":"y"
  291. },
  292. "and_chr":{
  293. "64":"y"
  294. },
  295. "and_ff":{
  296. "57":"y"
  297. },
  298. "ie_mob":{
  299. "10":"y",
  300. "11":"y"
  301. },
  302. "and_uc":{
  303. "11.8":"y"
  304. },
  305. "samsung":{
  306. "4":"y",
  307. "5":"y",
  308. "6.2":"y"
  309. },
  310. "and_qq":{
  311. "1.2":"y"
  312. },
  313. "baidu":{
  314. "7.12":"y"
  315. }
  316. },
  317. "notes":"",
  318. "notes_by_num":{
  319. "1":"The returned object lacks `width` and `height` properties.",
  320. "2":"Returns incorrect values for elements which have had CSS `transform`s applied to them.",
  321. "3":"The returned object cannot have new properties added to it; it's not extensible.",
  322. "4":"Existing properties of the returned object are immutable."
  323. },
  324. "usage_perc_y":97.85,
  325. "usage_perc_a":0.36,
  326. "ucprefix":false,
  327. "parent":"",
  328. "keywords":"getBoundingClientRect,bounding,client,rect,DOMRect,box,cssom",
  329. "ie_id":"",
  330. "chrome_id":"",
  331. "firefox_id":"",
  332. "webkit_id":"",
  333. "shown":true
  334. }