27 lines
499 B
HTML
27 lines
499 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Tests that scrollIntoView() works inside overflow:hidden</title>
|
|
<style>
|
|
.container {
|
|
height: 200px;
|
|
width: 200px;
|
|
border: 1px solid black;
|
|
background-color: red;
|
|
}
|
|
|
|
#box {
|
|
height: 200px;
|
|
width: 200px;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div id="box"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|