Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug2886.html
blob6c4b315854833be68efa239dea575f2741458615
1 <html><head>
2 <style>
3 .foo {border: 1px dashed red;}
4 </style>
5 </head>
6 <body>
7 <p>Tests of padding in table cells. </p>
9 <table border=0 cellpadding=10><tr><td valign=top>
11 <p><b>1) padding: 20px</b></p>
12 <table border=1>
13 <tr><td style="padding:20px;"><div class="foo">FOO</div></td></tr>
14 </table>
16 </td><td valign=top>
18 <p><b>2) padding: 10px 25px 30px 45px;</b></p>
19 <table border=1>
20 <tr><td style="padding: 10px 25px 30px 45px;"><div class="foo">FOO</div></td></tr>
21 </table>
23 </td></tr></table>
25 <br>
26 <table border=0 cellpadding=10><tr><td valign=top>
28 <p><b>3) padding-left: 20px</b></p>
29 <table border=1>
30 <tr><td style="padding-left:20px;"><div class="foo">FOO</div></td></tr>
31 </table>
33 </td><td valign=top>
35 <p><b>4) padding-right: 20px</b></p>
36 <table border=1>
37 <tr><td style="padding-right:20px;"><div class="foo">FOO</div></td></tr>
38 </table>
40 </td><td valign=top>
42 <p><b>5) padding-top: 20px</b></p>
43 <table border=1>
44 <tr><td style="padding-top:20px;"><div class="foo">FOO</div></td></tr>
45 </table>
47 </td><td valign=top>
49 <p><b>6) padding-bottom: 20px</b></p>
50 <table border=1>
51 <tr><td style="padding-bottom: 20px;"><div class="foo">FOO</div></td></tr>
52 </table>
54 </td></tr></table>
56 <br>
57 <p><b>misc) padding: 20px 10px 40px 0px</b></p>
58 <table border=1>
59 <tr><td style="padding: 20px 10px 40px 0px;"><div class="foo">FOO</div></td></tr>
60 </table>
62 <p><b>misc) padding-top: 10px; padding-bottom: 20px;</b></p>
63 <table border=1>
64 <tr><td style="padding-top: 10px; padding-bottom: 20px;"><div class="foo">FOO</div></td></tr>
65 </table>
68 </body></html>