30 lines
572 B
HTML
30 lines
572 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
.outer {
|
|
position: absolute;
|
|
top: 16px;
|
|
bottom: 16px;
|
|
left: 16px;
|
|
right: 16px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.inner {
|
|
position: absolute;
|
|
background-color: green;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
height: 1024px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="outer">
|
|
<div class="inner">This test passes if there is no horizontal scrollbar.</div>
|
|
</div>
|
|
</body>
|
|
</head>
|