W3C DOM tests - scrollIntoView

This page tests scrollIntoView.

Test scripts

scrollIntoView

var x = document.getElementById('test');
x.scrollIntoView();

 

 

 

 

 

 

 

 

 

 

 

 

 

This element should scroll into view.