blob: 4bc6baefafce0f1d66bc661a993269e16ea3894d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<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>
|