зеркало из https://github.com/mozilla/pjs.git
29 строки
429 B
HTML
29 строки
429 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: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<span><span></span></span>
|
|
</body>
|
|
</html>
|