blob: 00bf3d36cbb4dc85f9dede0a7c3f530f26470dbb [file] [log] [blame]
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=15994</title>
<style type="text/css">
div {
overflow: hidden;
}
div, span {
height: 100px;
width: 100px;
display: block;
}
span.blue {
padding: 100px 0 0 0;
background: blue;
}
</style>
</head>
<body>
<div style="background: green;"><span id="t1">&nbsp;</span></div>
<div style="position: relative; margin: -100px 0 0 100px; background: red;"><span id="t2" class="blue">&nbsp;</span></div>
</body>
</html>