blob: 05d24c7e853ab53260fbe13180ba652c5ebbc9f0 [file] [log] [blame]
<!DOCTYPE html>
<title>Absolute Bottom Table</title>
<style type="text/css">
p { margin: 0; padding: 0; }
.atBottom { position: absolute; bottom: 0; left: 0; }
table { width: 120px; border:red solid 1px; }
#test1 { margin-left: 120px; height:50px; }
#test2 { margin-left: 240px; }
#test3 { margin-left: 360px; height:8px; }
<p>Testcase for bug <a href="">4874</a> - Table with absolute bottom positioning is positioned incorrectly.</p>
<h1>Look Down!</h1>
At the bottom of the window you should see the word "Paragraph" followed by
three boxes containing text. The entire red border around each box should
be visible without scrolling (the window should not be scrollable at all).
The three boxes should be aligned at the bottom with the bottom of the
window. The text "Tall table" should be vertically centered in its box,
which should be 50px tall. The other two boxes should both be shorter than
50px, and have the same height.
<table id="test1" class="atBottom">
<td>Tall table</td>
<table id="test2" class="atBottom">
<td>Normal table</td>
<table id="test3" class="atBottom">
<td>Short table</td>
<p class="atBottom">