This commit is contained in:
karnaze%netscape.com 1999-09-01 21:20:44 +00:00
Родитель 433a754f0b
Коммит 8bad55df9a
7 изменённых файлов: 444 добавлений и 0 удалений

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

@ -0,0 +1,183 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>CSS1 Test Suite: 5.5.1n border-*</TITLE>
<META http-equiv="Content-Style-Type" content="text/css">
</HEAD>
<BODY>
<br>
<hr>
<h3>border-top</h3>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-top: green 10px solid;"</code>.</p>
<TABLE cellspacing="5" border>
<TR>
<TD style="border-top: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green top border.
</TD>
</TR>
<TR>
<TD style="border-top: green 10px solid;">Cell one</TD><TD style="border-top: green 10px solid;">Cell two
<TABLE border><TR><TD style="border-top: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-top: green 10px solid;"</code>.</p>
<TABLE cellspacing="5">
<TR>
<TD style="border-top: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green top border.
</TD>
</TR>
<TR>
<TD style="border-top: green 10px solid;">Cell one</TD><TD style="border-top: green 10px solid;">Cell two
<TABLE><TR><TD style="border-top: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<hr>
<h3>border-right</h3>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-right: green 10px solid;"</code>.</p>
<TABLE cellspacing="5" border>
<TR>
<TD style="border-right: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green right border.
</TD>
</TR>
<TR>
<TD style="border-right: green 10px solid;">Cell one</TD><TD style="border-right: green 10px solid;">Cell two
<TABLE border><TR><TD style="border-right: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-right: green 10px solid;"</code>.</p>
<TABLE cellspacing="5">
<TR>
<TD style="border-right: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green right border.
</TD>
</TR>
<TR>
<TD style="border-right: green 10px solid;">Cell one</TD><TD style="border-right: green 10px solid;">Cell two
<TABLE><TR><TD style="border-right: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<hr>
<h3>border-bottom</h3>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-bottom: green 10px solid;"</code>.</p>
<TABLE cellspacing="5" border>
<TR>
<TD style="border-bottom: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green bottom border.
</TD>
</TR>
<TR>
<TD style="border-bottom: green 10px solid;">Cell one</TD><TD style="border-bottom: green 10px solid;">Cell two
<TABLE border><TR><TD style="border-bottom: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-bottom: green 10px solid;"</code>.</p>
<TABLE cellspacing="5">
<TR>
<TD style="border-bottom: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green bottom border.
</TD>
</TR>
<TR>
<TD style="border-bottom: green 10px solid;">Cell one</TD><TD style="border-bottom: green 10px solid;">Cell two
<TABLE><TR><TD style="border-bottom: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<hr>
<h3>border-left</h3>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-left: green 10px solid;"</code>.</p>
<TABLE cellspacing="5" border>
<TR>
<TD style="border-left: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green left border.
</TD>
</TR>
<TR>
<TD style="border-left: green 10px solid;">Cell one</TD><TD style="border-left: green 10px solid;">Cell two
<TABLE border><TR><TD style="border-left: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border-left: green 10px solid;"</code>.</p>
<TABLE cellspacing="5">
<TR>
<TD style="border-left: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green left border.
</TD>
</TR>
<TR>
<TD style="border-left: green 10px solid;">Cell one</TD><TD style="border-left: green 10px solid;">Cell two
<TABLE><TR><TD style="border-left: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<hr>
<h3>border</h3>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border: green 10px solid;"</code>.</p>
<TABLE cellspacing="5" border>
<TR>
<TD style="border: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green border.
</TD>
</TR>
<TR>
<TD style="border: green 10px solid;">Cell one</TD><TD style="border: green 10px solid;">Cell two
<TABLE border><TR><TD style="border: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
<br>
<p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
<code>&lt;td&gt;</code> have <code>style="border: green 10px solid;"</code>.</p>
<TABLE cellspacing="5">
<TR>
<TD style="border: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green border.
</TD>
</TR>
<TR>
<TD style="border: green 10px solid;">Cell one</TD><TD style="border: green 10px solid;">Cell two
<TABLE><TR><TD style="border: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,103 @@
<html>
<head>
<title>Cadres de tableaux</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.t0 { border-width : 10pt ; border-color : yellow ; border-style : double }
.t1 { border-color : black ; border-style : double ; border-width : 5pt }
.t2 { border-color : red ; border-style : solid ; border-width : 5pt }
.t3 { border-color : lime ; border-style : groove ; border-width : 5pt }
.t4 { border-color : blue ; border-style : inset ; border-width : 5pt }
.t00 { border-width : 10pt ; border-color : yellow ; border-style : double ;
border-collapse : collapse }
-->
</style><link rel="stylesheet" href="../testsCSS2.css"></head>
<body BGCOLOR=#ffffff>
<h1 class="titre">Tests de conformit&eacute; CSS 2</h1>
<h3 class="sstire">Tableaux, test 13.8</h3>
<h6 class="sstire">&copy; &Eacute;ditions Eyrolles 1998</h6>
<table border="0" width="75%" align="right">
<tr align="center">
<td colspan="3">
<hr width="100%" noshade>
</td>
</tr>
<tr>
<td width="25%" align="left"><a href="tables7.htm">test pr&eacute;c&eacute;dent</a></td>
<td width="50%" align="center"><b>Cadres de tableaux</b></td>
<td align="right" width="25%"><a href="tables9.htm">test suivant</a></td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Ce test v&eacute;rifie que les cadres s'appliquent bien aux tableaux.</p>
<pre>.firsttable { border-width : 10pt ; border-color : yellow ;
border-style : double }
.t1 { border-color : black ; border-style : double ;
border-width : 5pt }
.t2 { border-color : red ; border-style : solid ;
border-width : 5pt }
.t3 { border-color : lime ; border-style : groove ;
border-width : 5pt }
.t4 { border-color : blue ; border-style : inset ; border-width : 5pt }
.secondtable { border-width : 10pt ; border-color : yellow ;
border-style : double ;
border-collapse : collapse }</pre>
<table border="1" width="75%" align="center" class="t0">
<tr>
<td class="t1">1</td>
<td class="t2">2</td>
<td class="t3">3</td>
</tr>
<tr>
<td class="t4">4</td>
<td class="t1">5</td>
<td class="t2">6</td>
</tr>
<tr>
<td class="t3">7</td>
<td class="t4">8</td>
<td class="t1">9</td>
</tr>
</table>
<br>
<table border="1" width="75%" align="center" class="t00">
<tr>
<td class="t1">1</td>
<td class="t2">2</td>
<td class="t3">3</td>
</tr>
<tr>
<td class="t4">4</td>
<td class="t1">5</td>
<td class="t2">6</td>
</tr>
<tr>
<td class="t3">7</td>
<td class="t4">8</td>
<td class="t1">9</td>
</tr>
</table>
<p class="valeur">Si toutes les conditions exprim&eacute;es par les r&egrave;gles
CSS ci-dessus se retrouvent dans le formatage des tableaux ci-dessus, la valeur
de ce test est 2 et 0 sinon.</p>
<table border="0" width="75%" align="right">
<tr align="center">
<td colspan="3">
<hr width="100%" noshade>
</td>
</tr>
<tr>
<td width="25%" align="left">test pr&eacute;c&eacute;dent</td>
<td width="50%" align="center"><b>Cadres de tableaux</b></td>
<td width="25%" align="right"><a href="tables9.htm">test suivant</a></td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<P>Auteur : Daniel Glazman.</P>
</body>
</html>

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

@ -0,0 +1,50 @@
<html>
<head>
<title>965</title>
</head>
<body>
<table style="border: thin solid red">
<tr>
<td style="border: thin solid green">one</td>
<td style="border: thin solid red">two</td>
<td style="border: thin solid blue">three</td>
</tr>
<tr>
<td style="border: thin solid green">four</td>
<td style="border: thin solid yellow">five</td>
<td style="border: thin solid orange">six</td></tr>
</table>
<br>
<table border=2 style="border: thin solid red">
<tr>
<td style="border: thin solid green">one</td>
<td style="border: thin solid red">two</td>
<td style="border: thin solid blue">three</td>
</tr>
<tr>
<td style="border: thin solid green">four</td>
<td style="border: thin solid yellow">five</td>
<td style="border: thin solid orange">six</td>
</tr>
</table>
<br>
should be 2px solid red around table
<table style="border: 2px solid red" border=2>
<tr><td>One</td><td>Two</td></tr>
</table>
<br>
should be medium solid red around table
<table style="border:solid red" border=2>
<tr><td>One</td><td>Two</td></tr>
</table>
</body></html>
</body>
</html>

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

@ -1,6 +1,8 @@
file:///s:/mozilla/layout/html/tests/table/bugs/bug1010.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug10296-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug10296-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1055-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1055-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug10036.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug10633.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug1067-1.html
@ -64,6 +66,7 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug3309-1.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3309-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3517.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3718.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug3831.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4093.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4284.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug4294.html
@ -97,6 +100,7 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug8032-2.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug8950.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug9024.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug963.html
file:///s:/mozilla/layout/html/tests/table/bugs/bug965.html

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

@ -12,6 +12,8 @@ file:///s:/mozilla/layout/html/tests/table/core/misc.html
file:///s:/mozilla/layout/html/tests/table/core/misc.html
file:///s:/mozilla/layout/html/tests/table/core/nested1.html
file:///s:/mozilla/layout/html/tests/table/core/row_span.html
file:///s:/mozilla/layout/html/tests/table/core/table_frame.html
file:///s:/mozilla/layout/html/tests/table/core/table_heights.html
file:///s:/mozilla/layout/html/tests/table/core/table_rules.html
file:///s:/mozilla/layout/html/tests/table/core/table_widths.html

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

@ -0,0 +1,52 @@
<table border frame=void>
<tr><td>frame</td><td>void</td></tr>
</table>
<br>
<table border frame=above>
<tr><td>frame</td><td>above</td></tr>
</table>
<br>
<table border frame=below>
<tr><td>frame</td><td>below</td></tr>
</table>
<br>
<table border frame=hsides>
<tr><td>frame</td><td>hsides</td></tr>
</table>
<br>
<table border frame=vsides>
<tr><td>frame</td><td>vsides</td></tr>
</table>
<br>
<table border frame=rhs>
<tr><td>frame</td><td>rhs</td></tr>
</table>
<br>
<table border frame=lhs>
<tr><td>frame</td><td>lhs</td></tr>
</table>
<br>
<table border frame=box>
<tr><td>frame</td><td>box</td></tr>
</table>
<br>
<table border frame=border>
<tr><td>frame</td><td>border</td></tr>
</table>
<br>

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

@ -0,0 +1,50 @@
<table border rules=none>
<tr><td>rules</td><td>none</td></tr>
<tr><td>rules</td><td>none</td></tr>
</table>
<br>
<table border rules=group>
<tbody>
<tr><td>rules</td><td>row group 1</td></tr>
<tr><td>rules</td><td>row group 1</td></tr>
</tbody>
<tbody>
<tr><td>rules</td><td>row group 2</td></tr>
<tr><td>rules</td><td>row group 2</td></tr>
</tbody>
</table>
<br>
<table border rules=group>
<colgroup><col><col></colgroup>
<colgroup><col><col></colgroup>
<tr><td>rules</td><td>col group 1</td><td>rules</td><td>col group 2</td></tr>
<tr><td>rules</td><td>col group 1</td><td>rules</td><td>col group 2</td></tr>
</tbody>
</table>
<br>
<table border rules=rows>
<tr><td>rules</td><td>rows</td></tr>
<tr><td>rules</td><td>rows</td></tr>
</table>
<br>
<table border rules=cols>
<tr><td>rules</td><td>cols</td></tr>
<tr><td>rules</td><td>cols</td></tr>
</table>
<br>
<table border rules=all>
<tr><td>rules</td><td>all</td></tr>
<tr><td>rules</td><td>all</td></tr>
</table>
<br>