mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
29 lines
431 B
HTML
29 lines
431 B
HTML
<!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;
|
|
width: 100px;
|
|
height: 100px;
|
|
border: thin solid;
|
|
}
|
|
|
|
body > span > span {
|
|
display: block;
|
|
background: blue;
|
|
width: 150px;
|
|
height: 150px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<span><span></span></span>
|
|
</body>
|
|
</html>
|