blob: 556b707f6d46d51658b9837fba6f9f5b853c7dd7 [file] [log] [blame]
<!doctype html>
<html style="font: 16px/1.25 monospace;">
<head>
<style>
#content {
-webkit-flow-into: flow;
}
.overflow { color: orange; margin: 2px;}
.no_overflow { margin: 2px; }
#region1, #region2 { -webkit-flow-from: flow; width: 100px; height: 100px; }
#region1 { border: 5px solid green; }
#region2 { border: 5px solid blue; }
#container {
position: relative;
border: thin solid red;
overflow: auto;
height: 300px;
width: 150px;
}
.rotate {
-webkit-transform: rotate(90deg);
}
.pull_top {
margin-top: -50px;
}
</style>
</head>
<body>
<p>Test that overflow content for the first and last regions generate scrollbars.</p>
<p>On success, the orange lines of text should be visible below the blue border rectangle. The lines overflowing the green region should overflow horizontally. The red container should be scrollable both top/bottom and left/right.</p>
<div id="content">
<p class="no_overflow pull_top">Linetext1</p>
<p class="no_overflow">Linetext2</p>
<p class="no_overflow">Linetext3</p>
<p class="no_overflow" style="-webkit-region-break-after: always;">Linetext4</p>
<p class="no_overflow">Linetext5</p>
<p class="no_overflow">Linetext6</p>
<p class="no_overflow">Linetext7</p>
<p class="no_overflow">Linetext8</p>
<p class="no_overflow">Linetext9</p>
<br/>
<p class="overflow">Overflow10</p>
<p class="overflow">Overflow11</p>
<p class="overflow">Overflow12</p>
<p class="overflow">Overflow13</p>
<p class="overflow">Overflow14</p>
<p class="overflow">Overflow15</p>
<p class="overflow">Overflow16</p>
</div>
<div id="container">
<div class="region rotate" id="region1"></div>
<div class="region" id="region2"></div>
</div>
</body>
</html>