Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug2684.html
blob3ed7b58c465582cda6e497b897454062cf5564ad
1 <HTML><HEAD></HEAD>
2 <BODY>
4 <p><b>(1) Colspanning TD has fixed width equal to table width</b></p>
6 <TABLE BORDER=1 BGCOLOR=#ffffcc WIDTH=340 cellpadding=0 cellspacing=0>
7 <TR>
8 <TD WIDTH=340 COLSPAN=2>width=340 (same as table)</TD>
9 </TR>
10 <TR>
11 <TD>Search for:</TD>
12 <TD>foo bar baz foo bar baz foo bar baz</TD>
13 </TR>
14 </TABLE>
16 <p><b>(2) Colspanning TD has auto width</b></p>
18 <TABLE BORDER=1 BGCOLOR=#ffffcc WIDTH=340 cellpadding=0 cellspacing=0>
19 <TR>
20 <TD COLSPAN=2>no width attribute</TD>
21 </TR>
22 <TR>
23 <TD>Search for:</TD>
24 <TD>foo bar baz foo bar baz foo bar baz</TD>
25 </TR>
26 </TABLE>
28 <p><b>(3) Colspanning TD has width=100px</b></p>
30 <TABLE BORDER=1 BGCOLOR=#ffffcc WIDTH=340 cellpadding=0 cellspacing=0>
31 <TR>
32 <TD WIDTH=100 COLSPAN=2>width=100px</TD>
33 </TR>
34 <TR>
35 <TD>Search for:</TD>
36 <TD>foo bar baz foo bar baz foo bar baz</TD>
37 </TR>
38 </TABLE>
40 <p><b>(4) Colspanning TD has width=200px</b></p>
42 <TABLE BORDER=1 BGCOLOR=#ffffcc WIDTH=340 cellpadding=0 cellspacing=0>
43 <TR>
44 <TD WIDTH=200 COLSPAN=2>width=200px</TD>
45 </TR>
46 <TR>
47 <TD>Search for:</TD>
48 <TD>foo bar baz foo bar baz foo bar baz</TD>
49 </TR>
50 </TABLE>
52 <p><b>(5) Colspanning TD has width=100%</b></p>
54 <TABLE BORDER=1 BGCOLOR=#ffffcc WIDTH=340 cellpadding=0 cellspacing=0>
55 <TR>
56 <TD WIDTH=100% COLSPAN=2>width=100%</TD>
57 </TR>
58 <TR>
59 <TD>Search for:</TD>
60 <TD>foo bar baz foo bar baz foo bar baz</TD>
61 </TR>
62 </TABLE>
64 </center>
65 </BODY></HTML>