gecko/layout/reftests/bugs/427129-table-caption-ref.html

712 lines
18 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Reftest, bug 427129</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
html, body { margin: 0; }
.contain {
background: aqua; color: black;
height: 4px; margin: 1px 50px;
padding-top: 0.1px; /* needed for some reason (XXX WHY?) */
}
div.pushed { height: 2px; }
div.t { background: blue; height: 1px; width: 100px; }
div.caption { background: purple; height: 1px; width: 100px; }
div.side { display: inline-block; vertical-align: top; }
</style>
</head>
<body>
<!--
WARNING: Both this test and the reference are constructed to test
our current behavior, which is far from optimal in a number of cases.
Fixing the test to test better behavior is encouraged when such
behavior is implemented.
To test the behavior under resizing, every test in this page is
repeated three times, once in a container one pixel above the
transition width, once at the transition width (just fitting), and
once in a container a pixel below the transition width.
-->
<div style="width: 335px">
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 116px"></div>
</div>
</div>
<div style="width: 334px">
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 116px"></div>
</div>
</div>
<div style="width: 333px">
<div class="contain">
<div class="pushed"></div>
<div class="t" style="margin-left: 55px"></div>
<div class="caption" style="margin-left: 115px"></div>
</div>
</div>
<div style="width: 334px">
<div class="contain">
<div class="caption" style="margin-left: 116px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 333px">
<div class="contain">
<div class="caption" style="margin-left: 116px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 332px">
<div class="contain">
<div class="pushed"></div>
<div class="caption" style="margin-left: 116px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 334px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 117px"></div>
</div>
</div>
<div style="width: 333px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 117px"></div>
</div>
</div>
<div style="width: 332px">
<div class="contain">
<div class="pushed"></div>
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 117px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 328px">
<div class="contain">
<div class="pushed"></div>
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="pushed"></div>
<div class="t" style="margin-left: 55px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="pushed"></div>
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 55px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 328px">
<div class="contain">
<div class="pushed"></div>
<div class="caption" style="margin-left: 55px"></div>
<div class="t" style="margin-left: 55px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="pushed"></div>
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain">
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain">
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain">
<div class="pushed"></div>
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side caption" style="margin-left: 56px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="side caption" style="margin-left: 56px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 655px">
<div class="contain">
<div class="pushed"></div>
<div class="side caption" style="margin-left: 55px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side caption" style="margin-left: 56px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="side caption" style="margin-left: 56px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 655px">
<div class="contain">
<div class="pushed"></div>
<div class="side caption" style="margin-left: 56px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 658px">
<div class="contain">
<div class="side caption" style="margin-left: 57px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side caption" style="margin-left: 57px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="pushed"></div>
<div class="side caption" style="margin-left: 57px"></div
><div class="side t" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side t" style="margin-left: 56px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="side t" style="margin-left: 56px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 655px">
<div class="contain">
<div class="pushed"></div>
<div class="side t" style="margin-left: 55px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side t" style="margin-left: 56px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="side t" style="margin-left: 56px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 655px">
<div class="contain">
<div class="pushed"></div>
<div class="side t" style="margin-left: 56px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 658px">
<div class="contain">
<div class="side t" style="margin-left: 57px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 657px">
<div class="contain">
<div class="side t" style="margin-left: 57px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 656px">
<div class="contain">
<div class="pushed"></div>
<div class="side t" style="margin-left: 57px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 338px">
<div class="contain rtl">
<div class="t" style="margin-left: 65px"></div>
<div class="caption" style="margin-left: -15px"></div>
</div>
</div>
<div style="width: 337px">
<div class="contain rtl">
<div class="t" style="margin-left: 64px"></div>
<div class="caption" style="margin-left: -16px"></div>
</div>
</div>
<div style="width: 336px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="t" style="margin-left: 64px"></div>
<div class="caption" style="margin-left: -16px"></div>
</div>
</div>
<div style="width: 337px">
<div class="contain rtl">
<div class="caption" style="margin-left: -16px"></div>
<div class="t" style="margin-left: 64px"></div>
</div>
</div>
<div style="width: 336px">
<div class="contain rtl">
<div class="caption" style="margin-left: -17px"></div>
<div class="t" style="margin-left: 63px"></div>
</div>
</div>
<div style="width: 335px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="caption" style="margin-left: -18px"></div>
<div class="t" style="margin-left: 62px"></div>
</div>
</div>
<div style="width: 337px">
<div class="contain rtl">
<div class="t" style="margin-left: 63px"></div>
<div class="caption" style="margin-left: -17px"></div>
</div>
</div>
<div style="width: 336px">
<div class="contain rtl">
<div class="t" style="margin-left: 62px"></div>
<div class="caption" style="margin-left: -18px"></div>
</div>
</div>
<div style="width: 335px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="t" style="margin-left: 61px"></div>
<div class="caption" style="margin-left: -19px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 328px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="caption" style="margin-left: 55px"></div>
<div class="t" style="margin-left: 55px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain rtl">
<div class="t" style="margin-left: 58px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain rtl">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 58px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 328px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain rtl">
<div class="t" style="margin-left: 57px"></div>
<div class="caption" style="margin-left: 58px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="t" style="margin-left: 56px"></div>
<div class="caption" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="t" style="margin-left: 55px"></div>
<div class="caption" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 331px">
<div class="contain rtl">
<div class="caption" style="margin-left: 57px"></div>
<div class="t" style="margin-left: 58px"></div>
</div>
</div>
<div style="width: 330px">
<div class="contain rtl">
<div class="caption" style="margin-left: 56px"></div>
<div class="t" style="margin-left: 57px"></div>
</div>
</div>
<div style="width: 329px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="caption" style="margin-left: 55px"></div>
<div class="t" style="margin-left: 56px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 72px"></div>
</div>
</div>
<div style="width: 672px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 72px"></div>
</div>
</div>
<div style="width: 671px">
<div class="contain rtl">
<div class="pushed"></div>
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 72px"></div>
</div>
</div>
<div style="width: 674px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 73px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 73px"></div>
</div>
</div>
<div style="width: 672px">
<div class="contain rtl">
<div class="pushed"></div>
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 73px"></div>
</div>
</div>
<div style="width: 675px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 74px"></div>
</div>
</div>
<div style="width: 674px">
<div class="contain rtl">
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 74px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<div class="pushed"></div>
<!-- margins showing up in the wrong places? -->
<div class="side caption" style="margin-left: 100px"></div
><div class="side t" style="margin-left: 74px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<div class="side t" style="margin-left: 101px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 672px">
<div class="contain rtl">
<div class="side t" style="margin-left: 100px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 671px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="side t" style="margin-left: 99px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 674px">
<div class="contain rtl">
<div class="side t" style="margin-left: 101px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<div class="side t" style="margin-left: 100px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 672px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="side t" style="margin-left: 99px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 675px">
<div class="contain rtl">
<div class="side t" style="margin-left: 101px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 674px">
<div class="contain rtl">
<div class="side t" style="margin-left: 100px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
<div style="width: 673px">
<div class="contain rtl">
<div class="pushed"></div>
<div class="side t" style="margin-left: 99px"></div
><div class="side caption" style="margin-left: 100px"></div>
</div>
</div>
</body>
</html>