Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug2947.html
blob8c8c093d261f2671e7a99dcf992af591d439cfa8
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <TITLE>Mozilla Tests: Table Sizing Problems</TITLE>
5 <STYLE type="text/css">
6 TD { border: solid green 1px; }
7 TABLE { border: dotted navy 1px; }
8 DIV { width: 608px; border: solid 1px red; margin: 1em 0; }
9 </STYLE>
11 <p>The table below should have the same width as the red DIV
12 below this paragraph. The inner image should just fit. The
13 image <em>should not</em> overrun the borders. </div>
15 <div></div>
17 <table width="608">
19 <tr>
20 <td width="25%">a</td>
21 <td width="25%">b</td>
22 <td width="25%">c</td>
23 <td width="25%">d</td>
24 </tr>
26 <tr>
27 <td colspan="2" width="50%"> eee </td>
28 <td colspan="2" width="50%"> f </td>
29 </tr>
31 <tr>
32 <td colspan="4"> <img src="../images/wsp600bot.gif"> </td>
33 </tr>
35 </table>
37 <div></div>
39 <p>Mozilla makes the table way too small for no apparent reason.</p>
41 <p>Here is the same table, one pixel wider:</p>
43 <table width="609">
45 <tr>
46 <td width="25%">a</td>
47 <td width="25%">b</td>
48 <td width="25%">c</td>
49 <td width="25%">d</td>
50 </tr>
52 <tr>
53 <td colspan="2" width="50%"> eee </td>
54 <td colspan="2" width="50%"> f </td>
55 </tr>
57 <tr>
58 <td colspan="4"> <img src="../images/wsp600bot.gif"> </td>
59 </tr>
61 </table>
63 <p>Observations: Fiddle about with the content of the "eee" cell and everything changes.
64 Remove any of the three rows and things change. Remove any of the four columns and
65 things change. Remove the image and things change.</p>
67 <p>(Note: If the image has disappeared from the server, replace it with any 593px
68 image you like.)</p>
70 <p>See also <a href="tablewidth.html">tablewidth.html</a>.</p>
72 <hr>
74 </BODY>
75 </HTML>