暫無描述

scrollintoview.json 6.0KB

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