1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
4 <title>CSS 2.1 Test Suite: display/box/float/clear test</title>
5 <style type="text/css">
7 font: 10px/1 Verdana, sans-serif;
8 background-color: blue;
14 border: .5em solid black;
17 background-color: white;
27 background-color: rgb(204,0,0);
30 width: 10.638%; /* refers to parent element's width of 47em. = 5em or 50px */
32 border: .5em solid black;
39 border: 1em solid black;
52 display: block; /* i.e., suppress marker */
57 border: .5em solid black;
60 background-color: #FC0;
64 background-color: black;
66 width: 41.17%; /* = 14em */
77 background-color: black;
95 margin: 1em 1em 1em 2em;
96 border-width: 1em 1.5em 2em .5em;
103 background-color: #FC0;
112 background-color: black;
124 .a { color: #999999; }
125 .b { color: #cc0000; }
127 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html" title="9 Visual formatting model">
143 <form action="./" method="get">
146 <input value="off" name="foo" type="radio">
150 <input value="on" name="foo2" type="radio">
167 sing to me, erbarme dich
171 <p style="color: black; font-size: 1em; line-height: 1.3em; clear: both">
172 This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1 agents should be able to render the document elements above this paragraph indistinguishably (to the pixel) from this
173 <a href="support/css1test5526c.png" class="a">reference rendering,</a>
174 (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings.
175 Please <a href="mailto:public-css-testsuite@w3.org" class="b">report any errors</a> you find between the CSS and the reference rendering.