blob: 232372f8eb3807935aa2a207cf6fca5dafe6994b [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; width: 100%; box-sizing: border-box; }
#region1 { border: 5px solid green; }
#region2 { border: 5px solid blue; }
#container {
position: relative;
border: thin solid red;
overflow: auto;
height: 300px;
width: 150px;
}
</style>
</head>
<body>
<p>Test that regions affected by the vertical scrollbar triggered resize correctly.</p>
<p>On success, the orange lines of text should be visible above the blue border rectangle and the red container should be scrollable. There should be no horizontal overflow/scrollbar.</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" 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>