Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug6304.html
blobdb47df315827d6a31e7ed42c0340165049cd52da
1 <html><body>
3 <div align=center>
4 <p style="font-weight: bold">Tables I, II, III, IV (cellpadding=0 cellspacing=5)</p>
6 <table border cellpadding=5 bgcolor=ffcc00>
7 <tr><td valign=top>
9 <table border cellpadding=0 cellspacing=5 bgcolor=ffffff>
10 <caption><nobr>Table I</nobr></caption>
11 <tr>
12 <td>1,1</td><td>1,2</td><td>1,3</td>
13 </tr>
14 <tr>
15 <td>2,1</td><td>2,2</td><td bgcolor=ffff66>2,3</td>
16 </tr>
17 <tr>
18 <td>3,1</td><td>3,2</td><td bgcolor=ffff66>3,3</td>
19 </tr>
20 <tr>
21 <td>4,1</td><td>4,2</td><td bgcolor=ffff66>4,3</td>
22 </tr>
23 <tr>
24 <td>5,1</td><td>5,2</td><td>5,3</td>
25 </tr>
26 </table>
28 </td><td valign=top>
30 <table border cellpadding=0 cellspacing=5 bgcolor=ffffff>
31 <caption><nobr>Table II</nobr></caption>
32 <tr>
33 <td>1,1</td><td>1,2</td><td>1,3</td>
34 </tr>
35 <tr>
36 <td>2,1</td><td rowspan=2>2,2</td><td bgcolor=ffff66>2,3</td>
37 </tr>
38 <tr>
39 <td rowspan=2>3,1</td> <td bgcolor=ffff66>3,3</td>
40 </tr>
41 <tr>
42 <td>4,2</td><td bgcolor=ffff66>4,3</td>
43 </tr>
44 <tr>
45 <td>5,1</td><td>5,2</td><td>5,3</td>
46 </tr>
47 </table>
49 </td><td valign=top>
51 <table border cellpadding=0 cellspacing=5 bgcolor=ffffff>
52 <caption><nobr>Table III</nobr></caption>
53 <tr>
54 <td>1,1</td><td>1,2</td><td>1,3</td>
55 </tr>
56 <tr>
57 <td>2,1</td><td rowspan=2>2,2</td><td bgcolor=ffff66></td>
58 </tr>
59 <tr>
60 <td rowspan=2>3,1</td> <td bgcolor=ffff66></td>
61 </tr>
62 <tr>
63 <td>4,2</td><td bgcolor=ffff66></td>
64 </tr>
65 <tr>
66 <td>5,1</td><td>5,2</td><td>5,3</td>
67 </tr>
68 </table>
70 </td><td valign=top>
72 <table border cellpadding=0 cellspacing=5 bgcolor=ffffff>
73 <caption><nobr>Table IV</nobr></caption>
74 <tr>
75 <td>1,1</td><td>1,2</td>
76 </tr>
77 <tr>
78 <td>2,1</td><td rowspan=2>2,2</td>
79 </tr>
80 <tr>
81 <td rowspan=2>3,1</td>
82 </tr>
83 <tr>
84 <td>4,2</td>
85 </tr>
86 <tr>
87 <td>5,1</td><td>5,2</td>
88 </tr>
89 </table>
91 </td></tr></table>
92 </div>
94 <hr>
96 <p align="center"><b>This demonstrates a problem with "overlapping
97 rowspan cells" (look at Table IV).</b></p>
99 <p><b>Table I:</b> a regular 5x3 table</p>
101 <p><b>Table II:</b> introduces rowspan=2 for cells (2,2) and (3,1),
102 which 'overlap'.</p>
104 <p><b>Table III:</b> is Table II, but cells (2,3),(3,3) and (4,3) now
105 have 'empty' contents; the resulting table is still OK. Note that the
106 height of (2,3) and (4,3) is determined by cells (2,1) and (4,2)
107 respectively, whereas (3,3) has ~0 height since no 'effective' cell in
108 the row has any definite height requirement (except for border,
109 margin, padding if applicable).</p>
111 <p><b>Table IV:</b> is Table III, but column 3 has been removed (cells
112 (1,3),(2,3),(3,3),(4,3),(5,3)). This should mirror the first two
113 columns of Table III (but currently does not). </p>
115 <p>Note that cells (2,2) and (3,1) are still in the correct position,
116 with the same size as Table III, but that their cellspacing with (5,1)
117 and (4,2) is absent.</p>
119 <p>Tested with Apr25, M4 and 1999051109 (win95, opt.) Dated: May 11 1999</p>
121 </body></html>