This commit is contained in:
karnaze%netscape.com 1999-09-10 19:10:46 +00:00
Родитель 7a1ba7b3d9
Коммит a50ea450f9
3 изменённых файлов: 127 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,110 @@
<HTML>
<HEAD><base href="http://www.mozilla.org/"></HEAD>
<BODY>
<p>In this table (modeled after mozilla.org template) the cells in
column two are requesting colspans of (2,3,2,6) respectively. Notice
that they all want to span more than one column (which means, in the case of
this table, all rows are requesting to span more columns than the
number of 'real' <code>&lt;TD&gt;</code> in any single rows [i.e., all rows in the top
table want to
span 9 cells, but the maximum number of <code>&lt;TD&gt;</code> in any row is
8].</p><p>This condition leads to the 'white gap' (in builds of 5.0 for jun04 and before).</p>
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<!-- 8 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=2>2</TD>
<TD BGCOLOR="#DDDDDD">4</TD>
<TD BGCOLOR="#999999">5</TD>
<TD >6</TD>
<TD >7</TD>
<TD >8</TD>
<TD BGCOLOR="#999999">9</TD>
</TR>
<!-- 7 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=3>2</TD>
<TD BGCOLOR="#999999">5</TD>
<TD >6</TD>
<TD >7</TD>
<TD >8</TD>
<TD BGCOLOR="#999999">9</TD>
</TR>
<!-- 7 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=2>2</TD>
<TD BGCOLOR="#DDDDDD">4</TD>
<TD BGCOLOR="#999999">5</TD>
<TD COLSPAN=2>6</TD>
<TD >8</TD>
<TD BGCOLOR="#999999">9</TD>
</TR>
<!-- 3 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999" COLSPAN=6>1</TD>
<TD BGCOLOR="#999999">7</TD>
<TD BGCOLOR="#999999" COLSPAN=2>8</TD>
</TR>
</TABLE>
<p>This is the same table as above, but instead the cells in column two
are requesting colspans of (1,2,1,5) respectively (i.e., excess requests have
been 'normalized' away). There is no more 'white gap'.</p>
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<!-- 8 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=1>2</TD>
<TD BGCOLOR="#DDDDDD">3</TD>
<TD BGCOLOR="#999999">4</TD>
<TD >5</TD>
<TD >6</TD>
<TD >7</TD>
<TD BGCOLOR="#999999">8</TD>
</TR>
<!-- 7 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=2>2</TD>
<TD BGCOLOR="#999999">4</TD>
<TD >5</TD>
<TD >6</TD>
<TD >7</TD>
<TD BGCOLOR="#999999">8</TD>
</TR>
<!-- 7 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999">1</TD>
<TD BGCOLOR="#DDDDDD" COLSPAN=1>2</TD>
<TD BGCOLOR="#DDDDDD">3</TD>
<TD BGCOLOR="#999999">4</TD>
<TD COLSPAN=2>5</TD>
<TD >7</TD>
<TD BGCOLOR="#999999">8</TD>
</TR>
<!-- 3 'real', 9 'requested' -->
<TR>
<TD BGCOLOR="#999999" COLSPAN=5>1</TD>
<TD BGCOLOR="#999999">6</TD>
<TD BGCOLOR="#999999" COLSPAN=2>7</TD>
</TR>
</TABLE>
</BODY>
</HTML>

Просмотреть файл

@ -0,0 +1,15 @@
<TABLE>
<TR>
<TD BGCOLOR="#000000" COLSPAN=15>
<BR>
</TD>
<TD BGCOLOR="#000000" VALIGN=TOP>
<FONT COLOR="#AAAAAA" SIZE="-1">
Copyright &copy; 1998-1999 The Mozilla Organization.
</FONT>
</TD>
<TD BGCOLOR="#000000" COLSPAN=15>
<BR>
</TD>
</TR>
</TABLE>

Просмотреть файл

@ -95,6 +95,8 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug647.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug650.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug6933.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug709.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug7121-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug7121-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug7243.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug727.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug7342.html