blob: 3c8b1e1cc3c6f198e483a7bf5e46801d434e9a71 [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;
}
.rotate {
-webkit-transform: rotate(-45deg);
}
</style>
</head>
<body>
<p>Test that overflow content for the last region in chain generates correct scrollbars when transformed.</p>
<p>On success, the orange lines of text should be visible above the blue border rectangle (rotated) and the red container should be scrollable.</p>
<div id="content">
<p class="no_overflow">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" id="region1"></div>
<div class="region rotate" id="region2"></div>
</div>
</body>
</html>