gecko/layout/html/tests/table/bugs/bug22122.html

146 lines
2.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Colgroup Width 0* Test</TITLE>
</HEAD>
<BODY>
<HR>
<H3>
Table 1
</H3>
<PRE>
&lt;TABLE width="500" border=1&gt;
&lt;COLGROUP&gt;
&lt;COLGROUP&gt;
&lt;COLGROUP width="0*"&gt;
</PRE>
<TABLE width="500" border=1>
<COLGROUP>
<COLGROUP>
<COLGROUP width="0*">
<TR>
<TD>Cell A</TD>
<TD>Cell B</TD>
<TD>Cell C</TD>
</TR>
<TR>
<TD>Cell D</TD>
<TD>Cell E</TD>
<TD>Cell F</TD>
</TR>
<TR>
<TD>Cell G</TD>
<TD>Cell H</TD>
<TD>Cell I</TD>
</TR>
</TABLE>
<HR>
<H3>
Table 2.1
</H3>
<PRE>
&lt;TABLE width="500" border=1&gt;
&lt;COLGROUP width="1*"&gt;
&lt;COLGROUP width="1*"&gt;
&lt;COLGROUP width="0*"&gt;
</PRE>
<TABLE width="500" border=1>
<COLGROUP width="1*">
<COLGROUP width="1*">
<COLGROUP width="0*">
<TR>
<TD>Cell A</TD>
<TD>Cell_ B</TD>
<TD>Cell C</TD>
</TR>
<TR>
<TD>Cell D</TD>
<TD>Cell_ E</TD>
<TD>Cell F</TD>
</TR>
<TR>
<TD>Cell G</TD>
<TD>Cell_ H</TD>
<TD>Cell I</TD>
</TR>
</TABLE>
<H3>
Table 2.2
</H3>
<PRE>
&lt;TABLE width="500" border=1&gt;
&lt;COLGROUP width="1*"&gt;
&lt;COLGROUP width="2*"&gt;
&lt;COLGROUP width="0*"&gt;
</PRE>
<TABLE width="500" border=1>
<COLGROUP width="1*">
<COLGROUP width="2*">
<COLGROUP width="0*">
<TR>
<TD>Cell A</TD>
<TD>Cell B</TD>
<TD>Cell C</TD>
</TR>
<TR>
<TD>Cell D</TD>
<TD>Cell E</TD>
<TD>Cell F</TD>
</TR>
<TR>
<TD>Cell G</TD>
<TD>Cell H</TD>
<TD>Cell I</TD>
</TR>
</TABLE>
<H3>
Table 3.1
</H3>
<PRE>
&lt;TABLE width="500" border=1&gt;
&lt;COLGROUP width="1*"&gt;
&lt;COLGROUP width="100"&gt;
&lt;COLGROUP width="0*"&gt;
</PRE>
<TABLE width="500" border=1>
<COLGROUP width="1*">
<COLGROUP width="100">
<COLGROUP width="0*">
<TR>
<TD>Cell A</TD>
<TD>Cell B</TD>
<TD>Cell C</TD>
</TR>
<TR>
<TD>Cell D</TD>
<TD>Cell E</TD>
<TD>Cell F</TD>
</TR>
<TR>
<TD>Cell G</TD>
<TD>Cell H</TD>
<TD>Cell I</TD>
</TR>
</TABLE>
</BODY>
</HTML>