2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t090402-c42-ibx-pad-00-d-ag.html
bloba065969a7399e62ada62e3fd995c86dca72ede5b
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Inline Elements</title>
5 <style type="text/css">
6 p { color: navy; }
7 div { font: 10px/240% Ahem; color: black; width: 200px; margin: 0 0 0 10px; }
8 span { border: solid 10px blue; padding: 2px 20px 2px 10px; margin: 40px 30px 0 40px; }
9 td { padding: 0; border: 2px solid black; }
10 img { display: block; }
11 .control { background: red; color: yellow; }
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" title="9.4.2 Inline formatting context">
14 </head>
15 <body>
16 <p>The two diagrams below should be identical to the pixel with no red present.</p>
17 <table>
18 <tr>
19 <td>
20 <div>
21 1 2 3 4 5 6 7 8 9 0
22 1 2 3 <span> 7 8 9 0
23 1 2 3 4 5 6 7 8 9 0
24 1 2 3 4 </span> 8 9 0
25 1 2 3 4 5 6 7 8 9 0
26 </div>
27 </td>
28 <td class="control">
29 <img alt="FAIL: Images required for this test." src="support/css1test42a.png">
30 </td>
31 </tr>
32 </table>
33 </body>
34 </html>