blob: 9632504afd3e7a1788b12847c36f995aa925331c [file] [log] [blame]
<!doctype html>
<html style="font: 16px/1.25 monospace;">
<head>
<style>
#content {
width: 150px;
margin-left: 50px;
}
.overflow {
color: orange;
}
#region {
width: 300px;
height: 100px;
border: 10px solid blue;
position: absolute;
top: 300px;
left: 100px;
padding: 5px;
-webkit-transform: rotate(45deg);
}
.PASS {
color: green;
font-weight: bold;
}
</style>
</head>
<body>
<p>Test that overflow content is correctly computed when a transform is applied to the region.</p>
<p>On success, the following should be true:</p>
<ul>
<li>Two <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="region">
<div id="content">
<div>flow1_1</div>
<div>flow1_2</div>
<div>flow1_3</div>
<div>flow1_4</div>
<div>flow1_5</div>
<br/>
<div class="overflow">Overflow2_1</div>
<div class="overflow">Overflow2_2</div>
</div>
</div>
<div id="result" class="PASS">Automated selection test: PASS</div>
</body>
</html>