blob: 2f2f06b225afcc9eecb29df0861f842a3661f60c [file] [log] [blame]
<!doctype html>
<html style="font: 16px/1.25 monospace;">
<head>
<style>
.overflow { color: orange; margin: 2px;}
.no_overflow { margin: 2px; }
#region1, #region2 { 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="container">
<div class="region" id="region1">
<p class="no_overflow">Linetext1</p>
<p class="no_overflow">Linetext2</p>
<p class="no_overflow">Linetext3</p>
<p class="no_overflow">Linetext4</p>
</div>
<div class="region rotate" id="region2">
<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>
</body>
</html>