<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../resources/js-test.js"></script> | |
<style> | |
.container { | |
display : inline-block; | |
width : 200px; | |
height : 200px; | |
overflow : scroll; | |
} | |
.border { | |
border : 500px solid white; | |
} | |
.padding { | |
padding : 500px; | |
} | |
.margin { | |
margin : 500px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<canvas width="400" height="400"></canvas> | |
</div> | |
<script src="script-tests/canvas-scroll-path-into-view.js"></script> | |
</body> | |
</html> |