gecko/layout/html/tests/block/bugs/277420.html

54 lines
1.8 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<style>div.col { -moz-column-count:2; -moz-column-gap:2em }
</style></head>
<body>
<p>All these tests should build a reasonable frame tree without asserting.
</p><div style="position: absolute; left: 100px; top: 50px; width: 200px; height: 100px; overflow: scroll;">
This text is in a positioned box with scrollbars.
<div style="position: absolute; left: 200px; top: 200px;">
Scroll to see this text. (#1)
</div>
</div>
<div style="height: 150px;"></div>
<div style="width: 200px; height: 100px; overflow: scroll;">
This text is in a box with scrollbars.
<div style="position: absolute; left: 200px; top: 350px;">
This text should be visible on the main page. (#1)
</div>
</div>
<div style="height: 250px;"></div>
<div class="col" style="position: absolute; left: 100px; top: 400px; width: 200px; height: 100px;">
This text is in a positioned box with columns, without scrollbars.
<div style="position: absolute; left: 200px; top: 450px;">
This text should be visible on the main page. (#2)
</div>
</div>
<div class="col" style="position: absolute; left: 100px; top: 550px; width: 200px; height: 100px; overflow: scroll;">
This text is in a positioned box with scrollbars and columns.
<div style="position: absolute; left: 200px; top: 200px;">
Scroll to see this text. (#2)
</div>
</div>
<div style="height: 250px;"></div>
<div class="col" style="width: 200px; height: 100px; overflow: scroll;">
This text is in a box with scrollbars and columns.
<div style="position: absolute; left: 200px; top: 750px;">
This text should be visible on the main page. (#3)
</div>
</div>
</body></html>