2007-02-01 05:13:07 +03:00
|
|
|
<!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: hidden;
|
2007-03-14 21:22:05 +03:00
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
2007-02-01 05:13:07 +03:00
|
|
|
border: thin solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > span > span {
|
|
|
|
display: block;
|
|
|
|
background: blue;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<span><span></span></span>
|
|
|
|
</body>
|
|
|
|
</html>
|