blob: 1fda80eafe45273242ae177a15754b1c6aa764e3 [file] [log] [blame]
<!DOCTYPE html>
<style>
#region {
-webkit-flow-from: flow;
border: 5px solid blue;
width: 200px;
height: 100px;
padding: 80px;
margin: 50px;
overflow: hidden;
}
#content {
-webkit-flow-into: flow;
background-color: lightgrey;
width: 200px;
height: 100px;
}
</style>
<body>
<a href="https://bugs.webkit.org/show_bug.cgi?id=128590">[CSS Regions] Overflow above the first region is not properly painted for regions with padding</a>
<div id="region"></div>
<div id="content">
<div style="position:relative; top: -40px; color:red">This line should be visible</div>
<div>The red line above this one should be visible</div>
</div>
</body>