409 lines
7.4 KiB
JSON
409 lines
7.4 KiB
JSON
|
{
|
||
|
"title":"scrollIntoView",
|
||
|
"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.",
|
||
|
"spec":"https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview",
|
||
|
"status":"wd",
|
||
|
"links":[
|
||
|
{
|
||
|
"url":"https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView",
|
||
|
"title":"MDN Web Docs - scrollIntoView"
|
||
|
},
|
||
|
{
|
||
|
"url":"http://iamdustan.com/smoothscroll/",
|
||
|
"title":"smooth scroll polyfill : polyfill for smooth behavior option"
|
||
|
}
|
||
|
],
|
||
|
"bugs":[
|
||
|
|
||
|
],
|
||
|
"categories":[
|
||
|
"DOM",
|
||
|
"JS API"
|
||
|
],
|
||
|
"stats":{
|
||
|
"ie":{
|
||
|
"5.5":"n",
|
||
|
"6":"n",
|
||
|
"7":"n",
|
||
|
"8":"a #1",
|
||
|
"9":"a #1",
|
||
|
"10":"a #1",
|
||
|
"11":"a #1"
|
||
|
},
|
||
|
"edge":{
|
||
|
"12":"a #1",
|
||
|
"13":"a #1",
|
||
|
"14":"a #1",
|
||
|
"15":"a #1",
|
||
|
"16":"a #1",
|
||
|
"17":"a #1",
|
||
|
"18":"a #1",
|
||
|
"79":"y",
|
||
|
"80":"y",
|
||
|
"81":"y",
|
||
|
"83":"y",
|
||
|
"84":"y"
|
||
|
},
|
||
|
"firefox":{
|
||
|
"2":"a #1",
|
||
|
"3":"a #1",
|
||
|
"3.5":"a #1",
|
||
|
"3.6":"a #1",
|
||
|
"4":"a #1",
|
||
|
"5":"a #1",
|
||
|
"6":"a #1",
|
||
|
"7":"a #1",
|
||
|
"8":"a #1",
|
||
|
"9":"a #1",
|
||
|
"10":"a #1",
|
||
|
"11":"a #1",
|
||
|
"12":"a #1",
|
||
|
"13":"a #1",
|
||
|
"14":"a #1",
|
||
|
"15":"a #1",
|
||
|
"16":"a #1",
|
||
|
"17":"a #1",
|
||
|
"18":"a #1",
|
||
|
"19":"a #1",
|
||
|
"20":"a #1",
|
||
|
"21":"a #1",
|
||
|
"22":"a #1",
|
||
|
"23":"a #1",
|
||
|
"24":"a #1",
|
||
|
"25":"a #1",
|
||
|
"26":"a #1",
|
||
|
"27":"a #1",
|
||
|
"28":"a #1",
|
||
|
"29":"a #1",
|
||
|
"30":"a #1",
|
||
|
"31":"a #1",
|
||
|
"32":"a #1",
|
||
|
"33":"a #1",
|
||
|
"34":"a #1",
|
||
|
"35":"a #1",
|
||
|
"36":"y",
|
||
|
"37":"y",
|
||
|
"38":"y",
|
||
|
"39":"y",
|
||
|
"40":"y",
|
||
|
"41":"y",
|
||
|
"42":"y",
|
||
|
"43":"y",
|
||
|
"44":"y",
|
||
|
"45":"y",
|
||
|
"46":"y",
|
||
|
"47":"y",
|
||
|
"48":"y",
|
||
|
"49":"y",
|
||
|
"50":"y",
|
||
|
"51":"y",
|
||
|
"52":"y",
|
||
|
"53":"y",
|
||
|
"54":"y",
|
||
|
"55":"y",
|
||
|
"56":"y",
|
||
|
"57":"y",
|
||
|
"58":"y",
|
||
|
"59":"y",
|
||
|
"60":"y",
|
||
|
"61":"y",
|
||
|
"62":"y",
|
||
|
"63":"y",
|
||
|
"64":"y",
|
||
|
"65":"y",
|
||
|
"66":"y",
|
||
|
"67":"y",
|
||
|
"68":"y",
|
||
|
"69":"y",
|
||
|
"70":"y",
|
||
|
"71":"y",
|
||
|
"72":"y",
|
||
|
"73":"y",
|
||
|
"74":"y",
|
||
|
"75":"y",
|
||
|
"76":"y",
|
||
|
"77":"y",
|
||
|
"78":"y",
|
||
|
"79":"y",
|
||
|
"80":"y",
|
||
|
"81":"y",
|
||
|
"82":"y"
|
||
|
},
|
||
|
"chrome":{
|
||
|
"4":"a #1",
|
||
|
"5":"a #1",
|
||
|
"6":"a #1",
|
||
|
"7":"a #1",
|
||
|
"8":"a #1",
|
||
|
"9":"a #1",
|
||
|
"10":"a #1",
|
||
|
"11":"a #1",
|
||
|
"12":"a #1",
|
||
|
"13":"a #1",
|
||
|
"14":"a #1",
|
||
|
"15":"a #1",
|
||
|
"16":"a #1",
|
||
|
"17":"a #1",
|
||
|
"18":"a #1",
|
||
|
"19":"a #1",
|
||
|
"20":"a #1",
|
||
|
"21":"a #1",
|
||
|
"22":"a #1",
|
||
|
"23":"a #1",
|
||
|
"24":"a #1",
|
||
|
"25":"a #1",
|
||
|
"26":"a #1",
|
||
|
"27":"a #1",
|
||
|
"28":"a #1",
|
||
|
"29":"a #1",
|
||
|
"30":"a #1",
|
||
|
"31":"a #1",
|
||
|
"32":"a #1",
|
||
|
"33":"a #1",
|
||
|
"34":"a #1",
|
||
|
"35":"a #1",
|
||
|
"36":"a #1",
|
||
|
"37":"a #1",
|
||
|
"38":"a #1",
|
||
|
"39":"a #1",
|
||
|
"40":"a #1",
|
||
|
"41":"a #1",
|
||
|
"42":"a #1",
|
||
|
"43":"a #1",
|
||
|
"44":"a #1",
|
||
|
"45":"a #1",
|
||
|
"46":"a #1",
|
||
|
"47":"a #1",
|
||
|
"48":"a #1",
|
||
|
"49":"a #1",
|
||
|
"50":"a #1",
|
||
|
"51":"a #1",
|
||
|
"52":"a #1",
|
||
|
"53":"a #1",
|
||
|
"54":"a #1",
|
||
|
"55":"a #1",
|
||
|
"56":"a #1",
|
||
|
"57":"a #1",
|
||
|
"58":"a #1",
|
||
|
"59":"a #1",
|
||
|
"60":"a #1",
|
||
|
"61":"y",
|
||
|
"62":"y",
|
||
|
"63":"y",
|
||
|
"64":"y",
|
||
|
"65":"y",
|
||
|
"66":"y",
|
||
|
"67":"y",
|
||
|
"68":"y",
|
||
|
"69":"y",
|
||
|
"70":"y",
|
||
|
"71":"y",
|
||
|
"72":"y",
|
||
|
"73":"y",
|
||
|
"74":"y",
|
||
|
"75":"y",
|
||
|
"76":"y",
|
||
|
"77":"y",
|
||
|
"78":"y",
|
||
|
"79":"y",
|
||
|
"80":"y",
|
||
|
"81":"y",
|
||
|
"83":"y",
|
||
|
"84":"y",
|
||
|
"85":"y",
|
||
|
"86":"y",
|
||
|
"87":"y",
|
||
|
"88":"y"
|
||
|
},
|
||
|
"safari":{
|
||
|
"3.1":"n",
|
||
|
"3.2":"n",
|
||
|
"4":"n",
|
||
|
"5":"n",
|
||
|
"5.1":"a #1",
|
||
|
"6":"a #1",
|
||
|
"6.1":"a #1",
|
||
|
"7":"a #1",
|
||
|
"7.1":"a #1",
|
||
|
"8":"a #1",
|
||
|
"9":"a #1",
|
||
|
"9.1":"a #1",
|
||
|
"10":"a #1",
|
||
|
"10.1":"a #1",
|
||
|
"11":"a #1",
|
||
|
"11.1":"a #1",
|
||
|
"12":"a #1",
|
||
|
"12.1":"a #1",
|
||
|
"13":"a #1",
|
||
|
"13.1":"a #1",
|
||
|
"14":"a #1",
|
||
|
"TP":"a #1"
|
||
|
},
|
||
|
"opera":{
|
||
|
"9":"n",
|
||
|
"9.5-9.6":"n",
|
||
|
"10.0-10.1":"n",
|
||
|
"10.5":"n",
|
||
|
"10.6":"n",
|
||
|
"11":"u",
|
||
|
"11.1":"u",
|
||
|
"11.5":"u",
|
||
|
"11.6":"a #1",
|
||
|
"12":"a #1",
|
||
|
"12.1":"a #1",
|
||
|
"15":"a #1",
|
||
|
"16":"a #1",
|
||
|
"17":"a #1",
|
||
|
"18":"a #1",
|
||
|
"19":"a #1",
|
||
|
"20":"a #1",
|
||
|
"21":"a #1",
|
||
|
"22":"a #1",
|
||
|
"23":"a #1",
|
||
|
"24":"a #1",
|
||
|
"25":"a #1",
|
||
|
"26":"a #1",
|
||
|
"27":"a #1",
|
||
|
"28":"a #1",
|
||
|
"29":"a #1",
|
||
|
"30":"a #1",
|
||
|
"31":"a #1",
|
||
|
"32":"a #1",
|
||
|
"33":"a #1",
|
||
|
"34":"a #1",
|
||
|
"35":"a #1",
|
||
|
"36":"a #1",
|
||
|
"37":"a #1",
|
||
|
"38":"a #1",
|
||
|
"39":"a #1",
|
||
|
"40":"a #1",
|
||
|
"41":"a #1",
|
||
|
"42":"a #1",
|
||
|
"43":"a #1",
|
||
|
"44":"a #1",
|
||
|
"45":"a #1",
|
||
|
"46":"a #1",
|
||
|
"47":"a #1",
|
||
|
"48":"y",
|
||
|
"49":"y",
|
||
|
"50":"y",
|
||
|
"51":"y",
|
||
|
"52":"y",
|
||
|
"53":"y",
|
||
|
"54":"y",
|
||
|
"55":"y",
|
||
|
"56":"y",
|
||
|
"57":"y",
|
||
|
"58":"y",
|
||
|
"60":"y",
|
||
|
"62":"y",
|
||
|
"63":"y",
|
||
|
"64":"y",
|
||
|
"65":"y",
|
||
|
"66":"y",
|
||
|
"67":"y",
|
||
|
"68":"y",
|
||
|
"69":"y",
|
||
|
"70":"y"
|
||
|
},
|
||
|
"ios_saf":{
|
||
|
"3.2":"u",
|
||
|
"4.0-4.1":"u",
|
||
|
"4.2-4.3":"u",
|
||
|
"5.0-5.1":"a #1",
|
||
|
"6.0-6.1":"a #1",
|
||
|
"7.0-7.1":"a #1",
|
||
|
"8":"a #1",
|
||
|
"8.1-8.4":"a #1",
|
||
|
"9.0-9.2":"a #1",
|
||
|
"9.3":"a #1",
|
||
|
"10.0-10.2":"a #1",
|
||
|
"10.3":"a #1",
|
||
|
"11.0-11.2":"a #1",
|
||
|
"11.3-11.4":"a #1",
|
||
|
"12.0-12.1":"a #1",
|
||
|
"12.2-12.4":"a #1",
|
||
|
"13.0-13.1":"a #1",
|
||
|
"13.2":"a #1",
|
||
|
"13.3":"a #1",
|
||
|
"13.4-13.5":"a #1",
|
||
|
"14.0":"a #1"
|
||
|
},
|
||
|
"op_mini":{
|
||
|
"all":"n"
|
||
|
},
|
||
|
"android":{
|
||
|
"2.1":"u",
|
||
|
"2.2":"u",
|
||
|
"2.3":"a #1",
|
||
|
"3":"a #1",
|
||
|
"4":"a #1",
|
||
|
"4.1":"a #1",
|
||
|
"4.2-4.3":"a #1",
|
||
|
"4.4":"a #1",
|
||
|
"4.4.3-4.4.4":"a #1",
|
||
|
"81":"a #1"
|
||
|
},
|
||
|
"bb":{
|
||
|
"7":"a #1",
|
||
|
"10":"a #1"
|
||
|
},
|
||
|
"op_mob":{
|
||
|
"10":"a #1",
|
||
|
"11":"a #1",
|
||
|
"11.1":"a #1",
|
||
|
"11.5":"a #1",
|
||
|
"12":"a #1",
|
||
|
"12.1":"a #1",
|
||
|
"46":"a #1"
|
||
|
},
|
||
|
"and_chr":{
|
||
|
"84":"y"
|
||
|
},
|
||
|
"and_ff":{
|
||
|
"79":"y"
|
||
|
},
|
||
|
"ie_mob":{
|
||
|
"10":"a #1",
|
||
|
"11":"a #1"
|
||
|
},
|
||
|
"and_uc":{
|
||
|
"12.12":"a #1"
|
||
|
},
|
||
|
"samsung":{
|
||
|
"4":"a #1",
|
||
|
"5.0-5.4":"a #1",
|
||
|
"6.2-6.4":"a #1",
|
||
|
"7.2-7.4":"a #1",
|
||
|
"8.2":"a #1",
|
||
|
"9.2":"a #1",
|
||
|
"10.1":"a #1",
|
||
|
"11.1-11.2":"a #1",
|
||
|
"12.0":"a #1"
|
||
|
},
|
||
|
"and_qq":{
|
||
|
"10.4":"y"
|
||
|
},
|
||
|
"baidu":{
|
||
|
"7.12":"a #1"
|
||
|
},
|
||
|
"kaios":{
|
||
|
"2.5":"y"
|
||
|
}
|
||
|
},
|
||
|
"notes":"",
|
||
|
"notes_by_num":{
|
||
|
"1":"Supports scrollIntoView with boolean parameter, but not `smooth` behavior option"
|
||
|
},
|
||
|
"usage_perc_y":73.51,
|
||
|
"usage_perc_a":24.13,
|
||
|
"ucprefix":false,
|
||
|
"parent":"",
|
||
|
"keywords":"",
|
||
|
"ie_id":"",
|
||
|
"chrome_id":"",
|
||
|
"firefox_id":"",
|
||
|
"webkit_id":"",
|
||
|
"shown":true
|
||
|
}
|