Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t090402-c42-ibx-pad-00-d-ag.html
blobd367241b684275b16b7541d9d182c1a2496e08aa
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 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 p { color: navy; }
8 div { font: 10px/240% Ahem; color: black; width: 200px; margin: 0 0 0 10px; }
9 span { border: solid 10px blue; padding: 2px 20px 2px 10px; margin: 40px 30px 0 40px; }
10 td { padding: 0; border: 2px solid black; }
11 img { display: block; }
12 .control { background: red; color: yellow; }
13 </style>
14 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" title="9.4.2 Inline formatting context">
15 </head>
16 <body>
17 <p>The two diagrams below should be identical to the pixel with no red present.</p>
18 <table>
19 <tr>
20 <td>
21 <div>
22 1 2 3 4 5 6 7 8 9 0
23 1 2 3 <span> 7 8 9 0
24 1 2 3 4 5 6 7 8 9 0
25 1 2 3 4 </span> 8 9 0
26 1 2 3 4 5 6 7 8 9 0
27 </div>
28 </td>
29 <td class="control">
30 <img alt="FAIL: Images required for this test." src="support/css1test42a.png">
31 </td>
32 </tr>
33 </table>
34 </body>
35 </html>