22 lines
406 B
HTML
22 lines
406 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Tests that scrollIntoView() works properly on a target nested inside a scrollable container with a border</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
.box {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: green;
|
|
margin: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="box">
|
|
</body>
|
|
</html>
|