summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367247-s-auto.html
blob: 8dfcf8fdc0104a542cc60a5a01978099a95b512e (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
<!DOCTYPE HTML>
<html>
<head>
<title>Testcase, 'overflow' on elements with 'display:inline-block'</title>
<style type="text/css">

body > span {
	display: inline-block;
	vertical-align: text-bottom;
	overflow: auto;
	width: 100px;
	height: 100px;
	border: thin solid;
}

body > span > span {
	display: block;
	background: blue;
	width: 20px;
	height: 20px;
}

</style>
</head>
<body>
<span><span></span></span>
</body>
</html>