Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<meta content="image" name="flags" />
<style type="text/css"><![CDATA[
html
{
height: 100%;
}
/*
minimum used height of the document root element is 176px;
less than 176px will make the reference file no longer reliable.
36px : img#pass-fail-conditions-sentence's intrinsic height
+
4px : descender space below baseline
=========
40px : 1st table (height: 25%)
multiplied by
4
=========
160px : height of the 3 tables
+
8px : body's margin-top
+
8px : body's margin-bottom
=========
176px
*/
body
{
height: calc(100% - 16px);
}
table
{
border-spacing: 0px;
height: 25%;
margin: 0px;
table-layout: fixed;
width: 100%;
}
td
{
padding: 0px;
vertical-align: top;
}
]]></style>
</head>
<body>
<table id="first-table-top">
<col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>
<tr>
<td></td>
<td style="background-color: fuchsia;">&nbsp;</td>
<td style="background-color: olive;">&nbsp;</td>
<td style="background-color: blue;">&nbsp;</td>
<td style="padding-left: 16px; padding-right: 8px;"><img id="pass-fail-conditions-sentence" src="support/ortho-htb-alongside-vrl-floats-002-exp-res.png" alt="Image download support must be enabled" />
<!--
The image says:
Test passes if the orange rectangle
is below the blue rectangle.
--></td>
</tr>
</table>
<table id="second-table-middle">
<col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>
<tr>
<td></td>
<td style="background-color: fuchsia;"></td>
<td style="background-color: olive;">&nbsp;</td>
<td style="background-color: orange;">&nbsp;</td>
<td></td>
</tr>
</table>
<table id="third-table-middle">
<col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>
<tr>
<td></td>
<td style="background-color: fuchsia;"></td>
<td></td>
<td style="background-color: orange;">&nbsp;</td>
<td></td>
</tr>
</table>
<table id="fourth-table-bottom">
<col></col><col width="100"></col><col width="100"></col><col width="100"></col><col width="324"></col>
<tr>
<td></td><td></td><td></td><td></td>
</tr>
</table>
</body>
</html>