1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: In-flow boxes are considered scrolled to origin position when finding a baseline</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout">
7 <meta name="flags" content="ahem">
8 <meta name="assert" content="In-flow boxes are considered to be scrolled to their origin position when finding a baseline.">
9 <style type="text/css">
10 table
11 {
12 border-spacing: 0;
13 color: blue;
14 font: 20px/1 Ahem;
15 }
16 td
17 {
18 padding: 0;
19 vertical-align: baseline;
20 width: 5em;
21 }
22 div
23 {
24 color: white;
25 height: 50px;
26 overflow: auto;
27 }
28 span
29 {
30 color: blue;
31 }
32 </style>
33 </head>
34 <body>
35 <p>Test passes if there is a single blue box below with no jagged edges.</p>
36 <table>
37 <tr>
38 <td>XXXXX</td>
39 <td>
40 <div>
41 <span>XXXX</span>
42 XXXX XXXX XXXX
43 </div>
44 </td>
45 </tr>
46 </table>
47 </body>
48 </html>