new regression tests, not affecting the build.

This commit is contained in:
karnaze%netscape.com 2002-12-05 01:15:55 +00:00
parent bc0719ad01
commit 713fe5e17e
7 changed files with 424 additions and 0 deletions

View File

@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=13065&action=view -->
<HTML><HEAD><TITLE>Untitled</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>TD {
FONT-SIZE: 30px
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<TABLE id=table1
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid; BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD>foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR>
<TR>
<TD
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR></TBODY></TABLE>
<P>
<TABLE id=table2
style="BORDER-RIGHT: 25px solid; BORDER-TOP: 25px solid; BORDER-LEFT: 25px solid; BORDER-BOTTOM: 25px solid; BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD>foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR>
<TR>
<TD
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR></TBODY></TABLE>
<P>
<TABLE id=table3
style="BORDER-RIGHT: 50px solid; BORDER-TOP: 50px solid; BORDER-LEFT: 50px solid; BORDER-BOTTOM: 50px solid; BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD>foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR>
<TR>
<TD
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">foo</TD>
<TD
style="BORDER-RIGHT: solid; BORDER-TOP: solid; BORDER-LEFT: solid; BORDER-BOTTOM: solid">bar</TD></TR></TBODY></TABLE></P></BODY></HTML>

View File

@ -0,0 +1,161 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=63256&action=view -->
<HTML><HEAD><TITLE>border-collapse testfiles</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<META content="Arachnophilia 4.0" name=FORMATTER>
<META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
<BODY>
<H3>border-collapse testfiles</H3>
<UL>
<LI><A
href="http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/borderCollapse.htm">the
microsoft example border-collapse</A>
<LI><A
href="http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/rules.htm">the
microsoft example rules</A>
<LI><A
href="http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/table_rules_border.htm">the
microsoft example rules-border</A>
<LI><A
href="http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/tables3.htm">the
microsoft example fixed-layout</A>
<LI><A
href="http://www.netzwelt.com/selfhtml/css/eigenschaften/anzeige/border_collapse.htm">netzwelt.de
border collapse</A>
<LI><A
href="http://www.netzwelt.com/selfhtml/html/tabellen/anzeige/table_rules.htm">netzwelt.de
rules</A>
<LI><A
href="http://www.people.fas.harvard.edu/~dbaron/css/test/tborder1">dbaron
tborder1</A>
<LI><A
href="http://www.people.fas.harvard.edu/~dbaron/css/test/tborder2">dbaron
tborder2</A>
<LI><A
href="http://www.mbdavis.com/weav/htmlsig010423/properties/border-example.html">border
spacing</A>
<LI><A
href="http://www.richinstyle.com/test/tables/collapsingborders.php">rich in
style collapsing borders</A>
<LI><A href="http://www.richinstyle.com/test/tables/borderspacing.php">rcih in
style borderspacing</A>
<LI><A href="http://www.xs4all.nl/~ppk/css2tests/tables.html">fun with
tables</A>
<LI><A
href="http://www.chem.uni-potsdam.de/inet_kurs/css/css-examples/ex51.html">another
example</A>
<LI><A
href="http://www.editions-eyrolles.com/livres/glazman/tests/tables/tables5.htm">glazou5</A>
<LI><A
href="http://www.editions-eyrolles.com/livres/glazman/tests/tables/tables6.htm">glazou6</A>
<LI><A
href="http://www.editions-eyrolles.com/livres/glazman/tests/tables/tables7.htm">glazou7</A>
<LI><A
href="http://www.editions-eyrolles.com/livres/glazman/tests/tables/tables8.htm">glazou8</A>
<LI><A
href="http://www.editions-eyrolles.com/livres/glazman/exemples/ex142.htm">example
142</A>
<LI><A href="http://www.robinlionheart.com/stds/html4/tables.html">robin table
4</A>
<LI><A
href="http://www.bath.ac.uk/~py8ieh/internet/projects/mozilla/table-separated-row-borders.html">Hixie1</A>
<LI><A
href="http://www.bath.ac.uk/~py8ieh/internet/projects/mozilla/table-collapsed-border-col.html">Hixie2</A>
<LI><A href="http://blib.win.tue.nl/~tinus/saved.html">tinus</A>
</LI></UL>quirks mode
<UL>
<LI><A
href="http://mozilla.org/quality/browser/standards/html/table_rules_none.html">table_rules_none</A>
<LI><A
href="http://mozilla.org/quality/browser/standards/html/table_rules_groups.html">table_rules_groups</A>
<LI><A
href="http://mozilla.org/quality/browser/standards/html/table_rules_cols.html">table_rules_cols</A>
<LI><A
href="http://mozilla.org/quality/browser/standards/html/table_rules_all_2.html">table_rules_all_2</A>
</LI></UL>bugzilla testcases
<UL>
<LI><A
href="http://bugzilla.mozilla.org/showattachment.cgi?attach_id=1388">bug12462</A>
<LI><A
href="http://bugzilla.mozilla.org/showattachment.cgi?attach_id=7539">bug
2068</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=2510&amp;action=view">bug
2130</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=12720&amp;action=view">bug
2130</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=717&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=720&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=721&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=810&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=951&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=966&amp;action=view">bug
2436</A>
<LI><A
href="http://bugzilla.mozilla.org/showattachment.cgi?attach_id=11135">bug
3000</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=668&amp;action=view">bug9191</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=3298&amp;action=view">bug21076</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=4030&amp;action=view">bug21076</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=9574&amp;action=view">bug21076</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=3919&amp;action=view">bug22897</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=24992&amp;action=view">bug24113</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=41726&amp;action=view">bug24113</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=11180&amp;action=view">bug43039</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=13065&amp;action=view">bug41262</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=12732&amp;action=view">bug48538</A>
<LI><A
href="http://bugzilla.mozilla.org/attachment.cgi?id=12734&amp;action=view">bug48538</A>
</LI></UL>worth reading
<UL>
<LI><A
href="http://lists.w3.org/Archives/Public/www-style/1999Jul/0077.html">dbaron0799</A>
<LI><A
href="http://lists.w3.org/Archives/Public/www-style/1999Jul/0083.html">bert
bos reply</A>
<LI><A
href="http://lists.w3.org/Archives/Public/www-style/2000Jul/0011.html">fantasai
+ replies</A> </LI></UL></BODY></HTML>

View File

@ -0,0 +1,108 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=69028&action=view -->
<HTML><HEAD><TITLE>Collapsing Border Test Case</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<STYLE type=text/css>TABLE {
MARGIN-TOP: 1em; MARGIN-BOTTOM: 1em
}
TABLE.test1 {
BORDER-RIGHT: red 5px solid; BORDER-TOP: red 5px solid; BORDER-LEFT: red 5px solid; BORDER-BOTTOM: red 5px solid; BORDER-COLLAPSE: collapse; border-spacing: 5px
}
TABLE.test1 TD {
BORDER-RIGHT: green 4px solid; BORDER-TOP: green 4px solid; BORDER-LEFT: green 4px solid; BORDER-BOTTOM: green 4px solid
}
TABLE.test1 TD.cell3 {
BORDER-RIGHT: blue 6px solid; BORDER-TOP: blue 6px solid; BORDER-LEFT: blue 6px solid; BORDER-BOTTOM: blue 6px solid
}
TABLE.test2 #col1 {
BORDER-RIGHT: black 3px solid; BORDER-TOP: black 3px solid; BORDER-LEFT: black 3px solid; BORDER-BOTTOM: black 3px solid
}
TABLE.test2 TD {
BORDER-RIGHT: red 1px solid; PADDING-RIGHT: 1em; BORDER-TOP: red 1px solid; PADDING-LEFT: 1em; PADDING-BOTTOM: 1em; BORDER-LEFT: red 1px solid; PADDING-TOP: 1em; BORDER-BOTTOM: red 1px solid
}
TABLE.test2 TD.solid-blue {
BORDER-RIGHT: blue 5px dashed; BORDER-TOP: blue 5px dashed; BORDER-LEFT: blue 5px dashed; BORDER-BOTTOM: blue 5px dashed
}
TABLE.test2 TD.solid-green {
BORDER-RIGHT: green 5px solid; BORDER-TOP: green 5px solid; BORDER-LEFT: green 5px solid; BORDER-BOTTOM: green 5px solid
}
TABLE.test2 {
BORDER-RIGHT: yellow 5px solid; BORDER-TOP: yellow 5px solid; BORDER-LEFT: yellow 5px solid; BORDER-BOTTOM: yellow 5px solid; BORDER-COLLAPSE: collapse
}
TABLE.test3 {
BORDER-COLLAPSE: collapse
}
TABLE.test3 TR {
BORDER-TOP: black 2px solid
}
TABLE.test3 TR:unknown {
BORDER-TOP-STYLE: none
}
TABLE.test3 TD {
FONT-WEIGHT: bolder; WIDTH: 3em; TEXT-ALIGN: center
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<P>Following table should have 6px solid blue border around cell 3, red 5px
solid border around the rest of table and green 4px solid border between cell 1
and cell 2. The red border should override the green border around the cells
because it's thicker and the blue border should override the red border for the
same reason. </P>
<TABLE class=test1>
<TBODY>
<TR>
<TD>Cell #1</TD>
<TD>Cell #2</TD>
<TD class=cell3>Cell #3</TD></TR></TBODY></TABLE>
<P>See <A
href="http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders">17.6.2 The
collapsing border model</A> for following tests: </P>
<TABLE class=test2>
<COLGROUP>
<COL id=col1>
<COL id=col2>
<COL id=col3>
<TBODY>
<TR id=row1>
<TD>1</TD>
<TD>2</TD>
<TD>3</TD></TR>
<TR id=row2>
<TD>4</TD>
<TD class=solid-blue>5</TD>
<TD class=solid-green>6</TD></TR>
<TR id=row3>
<TD>7</TD>
<TD>8</TD>
<TD>9</TD></TR>
<TR id=row4>
<TD>10</TD>
<TD>11</TD>
<TD>12</TD></TR>
<TR id=row5>
<TD>13</TD>
<TD>14</TD>
<TD>15</TD></TR></TBODY></TABLE>
<P>This is an example rendering for the previous table from <A
href="../images/tbl-border-conflict.gif">http://www.w3.org/TR/REC-CSS2/images/tbl-border-conflict.gif</A>:
<BR><IMG alt="[Example rendering from w3.org]"
src="./images/tbl-border-conflict.gif"> </P>
<P>Following table should have 2px solid black line between rows. There should
be a total of two lines. There will be three lines if user agent doesn't support
<CODE>tr:first-child</CODE>. </P>
<TABLE class=test3>
<TBODY>
<TR>
<TD>a</TD>
<TD>b</TD>
<TD>c</TD></TR>
<TR>
<TD>3</TD>
<TD>4</TD>
<TD>5</TD></TR>
<TR>
<TD>5</TD>
<TD>12</TD>
<TD>13</TD></TR></TBODY></TABLE></BODY></HTML>

View File

@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=70097&action=view -->
<HTML><HEAD><TITLE>borderCollapse</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>TD {
BORDER-RIGHT: blue thick groove; BORDER-TOP: blue thick groove; BORDER-LEFT: blue thick groove; BORDER-BOTTOM: blue thick groove
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<BLOCKQUOTE class=body>
<CENTER>
<TABLE id=oID_1 style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD>EST</TD>
<TD>9:00 a.m.</TD></TR>
<TR>
<TD>CST</TD>
<TD>8:00 a.m.</TD></TR>
<TR>
<TD>PST</TD>
<TD>6:00 a.m.</TD></TR></TBODY></TABLE>
<P><INPUT onclick="document.getElementById('oID_1').setAttribute('style', 'borderCollapse:separate' ) " type=button value=separate>
<INPUT onclick="document.getElementById('oID_1').setAttribute('style', 'borderCollapse:collapse' ) " type=button value=collapse></P></CENTER></BLOCKQUOTE></BODY></HTML>

View File

@ -0,0 +1,40 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=70106&action=view -->
<HTML><HEAD><TITLE>rules Property</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<CENTER>
<TABLE id=oID_1 rules=cols>
<THEAD>
<TR>
<TD>EST</TD>
<TD>1am</TD>
<TD>8pm</TD></TR></THEAD>
<TBODY>
<TR>
<TD>CST</TD>
<TD>2am</TD>
<TD>9pm</TD></TR>
<TR>
<TD>MST</TD>
<TD>3am</TD>
<TD>10pm</TD></TR></TBODY>
<TFOOT>
<TR>
<TD>PST</TD>
<TD>4am</TD>
<TD>11pm</TD></TR></TFOOT></TABLE>
<P><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:')">No
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:none')">Exterior
border</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style','rules:all')">All
borders</BUTTON><BR><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:cols')">Column
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:groups')">Groups
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:rows')">Table
row borders</BUTTON> </P></CENTER></BODY></HTML>

View File

@ -0,0 +1,40 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0063)http://bugzilla.mozilla.org/attachment.cgi?id=70107&action=view -->
<HTML><HEAD><TITLE>RULES with BORDER property</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<CENTER>
<TABLE id=oID_1 rules=cols border=1>
<THEAD>
<TR>
<TD>EST</TD>
<TD>1am</TD>
<TD>8pm</TD></TR></THEAD>
<TBODY>
<TR>
<TD>CST</TD>
<TD>2am</TD>
<TD>9pm</TD></TR>
<TR>
<TD>MST</TD>
<TD>3am</TD>
<TD>10pm</TD></TR></TBODY>
<TFOOT>
<TR>
<TD>PST</TD>
<TD>4am</TD>
<TD>11pm</TD></TR></TFOOT></TABLE>
<P><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:')">No
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:none')">Exterior
border</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style','rules:all')">All
borders</BUTTON><BR><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:cols')">Column
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:groups')">Groups
borders</BUTTON><BUTTON
onclick="document.getElementById('oID_1').setAttribute('style', 'rules:rows')">Table
row borders</BUTTON> </P></CENTER></BODY></HTML>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB