blob: b14b3b4dbfbc4581121eb0a7ed6b5da450b521e3 [file] [log] [blame]
<!doctype html>
<html style="font: 16px/1.25 monospace;">
<head>
<style>
#content {
-webkit-flow-into: flow;
border: 1px dotted black;
}
.overflow {
color: orange;
}
#region {
-webkit-flow-from: flow;
width: 300px;
height: 100px;
border: 10px solid blue;
padding: 5px;
float: right;
}
#regionContainer {
border: 2px solid black;
position: absolute;
top: 160px;
padding: 10px;
width: 95%;
}
</style>
</head>
<body>
<p>Test that overflow content is correctly computed when the region is floating.</p>
<p>On success, the following should be true:</p>
<ul>
<li>Three <span style="color: orange;"><b>orange</b></span> overflow lines should be visible below the <span style="color: blue;"><b>blue</b></span> region.</li>
<li>All <span style="color: orange;"><b>orange</b></span> overflow lines should be selectable</li>
</ul>
<div id="content">
<div>flow1_1</div>
<div>flow1_2</div>
<div>flow1_3</div>
<div>flow1_4</div>
<div>flow1_5</div>
<br/><br/>
<div class="overflow">Overflow2_1</div>
<div class="overflow">Overflow2_2</div>
<div class="overflow">Overflow2_3</div>
</div>
<div id="regionContainer">
<div id="region"></div>
</div>
</body>
</html>