Adding xhtml table testfiles to the regression tests not part of the build

This commit is contained in:
bernd.mielke%snafu.de 2001-09-09 14:27:52 +00:00
parent b26394e3be
commit 9d44bea1f1
154 changed files with 22998 additions and 0 deletions

View File

@ -0,0 +1,148 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_align_bottom.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/6/98
Christine Dreckman Date: 1/19/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/23/2000
-->
</head>
<body>
<p>The table caption should be aligned at the bottom</p>
<table border="1">
<caption align="bottom">CAPTION</caption>
<tr>
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
</tr>
<tr>
<td>cell 4</td>
<td>cell 5</td>
<td>cell 6</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_align_left.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/99
Christine Dreckman Date: 2/16/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/23/2000
-->
</head>
<body>
<p>The table caption should be aligned at the left</p>
<table border="1">
<caption align="left">CAPTION</caption>
<tr>
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
</tr>
<tr>
<td>cell 4</td>
<td>cell 5</td>
<td>cell 6</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_align_right.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/99
Christine Dreckman Date: 2/16/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/23/2000
-->
</head>
<body>
<p>The table caption should be aligned at the right</p>
<table border="1">
<caption align="right">CAPTION</caption>
<tr>
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
</tr>
<tr>
<td>cell 4</td>
<td>cell 5</td>
<td>cell 6</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_align_top.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/6/98
Christine Dreckman Date: 1/19/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/23/2000
-->
</head>
<body>
<p>The table caption should be aligned at the top</p>
<table border="1">
<caption align="top">CAPTION</caption>
<tr>
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
</tr>
<tr>
<td>cell 4</td>
<td>cell 5</td>
<td>cell 6</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,130 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_class.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
<style type="text/css">
.one { background-color: lime }
</style>
</head>
<body>
<table border="1" width="100%">
<caption class="one">This caption should have a lime
background</caption>
<tr>
<td>cell</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,130 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_id.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
<style type="text/css">
#xyz12 { background-color: lime }
</style>
</head>
<body>
<table border="1" width="100%">
<caption id="xyz12">This caption should have a lime
background</caption>
<tr>
<td>cell</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>caption_style.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
</head>
<body>
<table border="1" width="100%">
<caption style="background-color: lime">This caption should have a
lime background</caption>
<tr>
<td>cell</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_align_center.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup>
<col align="center" />
<col align="center" /></colgroup>
<tr>
<td>Cell text should be center aligned</td>
<td>Cell text should be center aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,138 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_align_char.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<p>Numbers in table should be aligned at decimal points</p>
<table border="1" width="400">
<colgroup>
<col align="char" char="." />
<col align="char" char="." /></colgroup>
<tr>
<td>55.00</td>
<td>55555.00</td>
</tr>
<tr>
<td>1234.56</td>
<td>123.45</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_align_justify.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup>
<col align="justify" />
<col align="justify" /></colgroup>
<tr>
<td>The text in this cell text should be justified which means that
the right and left margins should line up, no matter how long the
content becomes (except the last line which should be left
aligned).</td>
<td>The text in this cell text should be justified which means that
the right and left margins should line up, no matter how long the
content becomes (except the last line which should be left
aligned).</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_align_left.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup>
<col align="left" />
<col align="left" /></colgroup>
<tr>
<td>Cell text should be left aligned</td>
<td>Cell text should be left aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_align_right.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup>
<col align="right" />
<col align="right" /></colgroup>
<tr>
<td>Cell text should be right aligned</td>
<td>Cell text should be right aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_span.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1">
<colgroup>
<col span="2" width="200" /></colgroup>
<tr>
<td>This column should be 200px wide</td>
<td>This column should be 200px wide</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_valign_baseline.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL VALIGN=BASELINE</p>
<table border="1">
<colgroup>
<col valign="baseline" />
<col /></colgroup>
<tr>
<td>Compare the baseline of the first line of text in this cell
with the baseline of the first line of text in the next cell: they
should be vertically aligned</td>
<td style="font-size: 30pt">Compare the baseline of the first line
of text in this cell with the baseline of the first line of text in
the previous cell: they should be vertically aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,138 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_valign_bottom.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL VALIGN=BOTTOM</p>
<table border="1">
<colgroup>
<col valign="bottom" />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The bottom of this text should be vertically aligned to the
bottom of the image. x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_valign_middle.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL VALIGN=MIDDLE</p>
<table border="1">
<colgroup>
<col valign="middle" />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The middle of this text should be vertically aligned to the
middle of the image.</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,130 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_valign_top.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL VALIGN=TOP</p>
<table border="1">
<colgroup>
<col valign="top" />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The top of this text should be vertically aligned to the top of
the image</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_width_pct.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/19/99
-->
</head>
<body>
<p>COL WIDTH=pct</p>
<table border="1" width="400">
<colgroup>
<col width="25%" />
<col width="75%" /></colgroup>
<tr>
<td>This column should have a width of 25% of 400px or 100px</td>
<td>This column should have a width of 75% of 400px or 300px</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,128 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_width_px.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL WIDTH=px</p>
<table border="1">
<colgroup>
<col width="200" />
<col width="400" /></colgroup>
<tr>
<td>This column should have a width of 200 pixels</td>
<td>This column should have a width of 400 pixels</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>col_width_rel.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 4/20/99
-->
</head>
<body>
<p>COL WIDTH=relative</p>
<table border="1" width="300">
<colgroup>
<col width="1*" />
<col width="2*" /></colgroup>
<tr>
<td>Table width is 300px. This column should be 1/2 as wide as
Column 2 or 100px</td>
<td>Table width is 300px. This column should be twice as wide as
Column 1 or 200px</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_align_center.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup align="center">
<col />
<col /></colgroup>
<tr>
<td>Cell text should be center aligned</td>
<td>Cell text should be center aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,138 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_align_char.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
-->
</head>
<body>
<p>Numbers in table should be aligned at decimal points</p>
<table border="1" width="600">
<colgroup align="char" char=".">
<col />
<col /></colgroup>
<tr>
<td>55.00</td>
<td>55555.00</td>
</tr>
<tr>
<td>1234.56</td>
<td>123.45</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,134 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_align_justify.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup align="justify">
<col />
<col /></colgroup>
<tr>
<td>The text in this cell text should be justified which means that
the right and left margins should line up, no matter how long the
content becomes (except the last line which should be left
aligned).</td>
<td>The text in this cell text should be justified which means that
the right and left margins should line up, no matter how long the
content becomes (except the last line which should be left
aligned).</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_align_left.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup align="left">
<col />
<col /></colgroup>
<tr>
<td>Cell text should be left aligned</td>
<td>Cell text should be left aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_align_right.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1" width="600">
<colgroup align="right">
<col />
<col /></colgroup>
<tr>
<td>Cell text should be right aligned</td>
<td>Cell text should be right aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_span.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 2/19/99
-->
</head>
<body>
<table border="1">
<colgroup span="2" width="200"></colgroup>
<tr>
<td>This column should be 200px wide</td>
<td>This column should be 200px wide</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,134 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_valign_baseline</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP VALIGN=BASELINE</p>
<table border="1">
<colgroup valign="baseline">
<col />
<col /></colgroup>
<tr>
<td>Compare the baseline of the first line of text in this cell
with the baseline of the first line of text in the next cell: they
should be vertically aligned</td>
<td style="font-size: 30pt">Compare the baseline of the first line
of text in this cell with the baseline of the first line of text in
the previous cell: they should be vertically aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,138 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_valign_bottom.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP VALIGN=BOTTOM</p>
<table border="1">
<colgroup valign="bottom">
<col />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The bottom of this text should be vertically aligned to the
bottom of the image. x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_valign_middle.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP VALIGN=MIDDLE</p>
<table border="1">
<colgroup valign="middle">
<col />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The middle of text should be vertically aligned to the middle
of the image</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_valign_top.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP VALIGN=TOP</p>
<table border="1">
<colgroup valign="top">
<col />
<col /></colgroup>
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The top of this text should be vertically aligned to the top of
the image</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_width_pct.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP WIDTH=pct</p>
<table border="1" width="400">
<colgroup width="25%"></colgroup>
<colgroup width="75%"></colgroup>
<tr>
<td>This column should have a width of 25% of 400 pixels or
100px</td>
<td>This column should have a width of 75% of 400 pixels or
300px</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,128 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_width_px.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP WIDTH=px</p>
<table border="1">
<colgroup span="2" width="200">
<col />
<col /></colgroup>
<tr>
<td>This column should have a width of 200 pixels</td>
<td>This column should have a width of 200 pixels</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>colgroup_width_rel.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/17/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date 2/19/99
-->
</head>
<body>
<p>COLGROUP WIDTH=relative</p>
<table border="1" width="300">
<colgroup width="1*"></colgroup>
<colgroup width="2*"></colgroup>
<tr>
<td>Table width is 300px. This column should be 1/2 as wide as
Column 2 or 100px</td>
<td>Table width is 300px. This column should be twice as wide as
Column 1 or 200px</td>
</tr>
</table>
</body>
</html>

View File

@ -123,3 +123,160 @@ file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_baseline.html
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_bottom.html
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_middle.html
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_top.html
file:///s|/mozilla/layout/html/tests/table/marvin/caption_align_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_align_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/caption_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_span.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_width_px.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_width_pct.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_width_rel.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/col_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_span.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_width_px.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_width_pct.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_width_rel.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/colgroup_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_width_px.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_width_pct.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_border_none.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_void.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_above.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_below.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_hsides.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_vsides.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_lhs.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_rhs.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_box.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_frame_border.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_rules_none.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_rules_groups.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_rules_rows.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_rules_cols.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_rules_all.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_cellspacing.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_cellspacing_pct.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_cellpadding.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_cellpadding_pct.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_bgcolor_name.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_bgcolor_rgb.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/table_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tbody_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_rowspan.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_colspan.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_nowrap.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_bgcolor_name.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_bgcolor_rgb.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_width.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_height.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/td_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tfoot_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_rowspan.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_colspan.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_nowrap.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_bgcolor_name.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_bgcolor_rgb.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_width.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_height.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/th_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/thead_style.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_bgcolor_name.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_bgcolor_rgb.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_align_left.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_align_center.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_align_right.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_align_justify.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_align_char.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_middle.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_top.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_bottom.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_valign_baseline.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_id.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_class.xml
file:///s|/mozilla/layout/html/tests/table/marvin/tr_style.xml

View File

@ -0,0 +1,95 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/12/01 -->
</head>
<body>
<p>The table below should have the following:</p>
<ol>
<li>a caption 'TABLE'</li>
<li>no border</li>
<li>3 colgroups, each with one column</li>
<li>a THEAD with one row</li>
<li>a TBODY with two rows</li>
<li>a TFOOT with one row</li>
</ol>
<br />
<br />
<table>
<caption>TABLE</caption>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_align_center</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" align="center">
<tr>
<td>This table should be center aligned on the page</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_align_left</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" align="left">
<tr>
<td>This table should be left aligned on the page</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_align_right</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<table border="1" align="right">
<tr>
<td>This table should be right aligned on the page</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,586 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_bgcolor_name</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/98
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body bgcolor="#FFFFFF">
<p>Black table with a white body background</p>
<table border="1" bgcolor="black">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Silver table with a white body background</p>
<table border="1" bgcolor="silver">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Gray table with a white body background</p>
<table border="1" bgcolor="gray">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>White table with a white body background</p>
<table border="1" bgcolor="white">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Maroon table with a white body background</p>
<table border="1" bgcolor="maroon">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Red table with a white body background</p>
<table border="1" bgcolor="red">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Purple table with a white body background</p>
<table border="1" bgcolor="purple">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Fuchsia table with a white body background</p>
<table border="1" bgcolor="fuchsia">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Green table with a white body background</p>
<table border="1" bgcolor="green">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Lime table with a white body background</p>
<table border="1" bgcolor="lime">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Olive table with a white body background</p>
<table border="1" bgcolor="olive">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Yellow table with a white body background</p>
<table border="1" bgcolor="yellow">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Navy table with a white body background</p>
<table border="1" bgcolor="navy">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Blue table with a white body background</p>
<table border="1" bgcolor="blue">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Teal table with a white body background</p>
<table border="1" bgcolor="teal">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Aqua table with a white body background</p>
<table border="1" bgcolor="aqua">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,576 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_bgcolor_name</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/21/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body bgcolor="#FFFFFF">
<p>Black table with a white body background</p>
<table border="1" bgcolor="#000000">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Silver table with a white body background</p>
<table border="1" bgcolor="#C0C0C0">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Gray table with a white body background</p>
<table border="1" bgcolor="#808080">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>White table with a white body background</p>
<table border="1" bgcolor="#FFFFFF">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Maroon table with a white body background</p>
<table border="1" bgcolor="#800000">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Red table with a white body background</p>
<table border="1" bgcolor="#FF0000">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Purple table with a white body background</p>
<table border="1" bgcolor="#800080">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Fuchsia table with a white body background</p>
<table border="1" bgcolor="#FF00FF">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Green table with a white body background</p>
<table border="1" bgcolor="#008000">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Lime table with a white body background</p>
<table border="1" bgcolor="#00FF00">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Olive table with a white body background</p>
<table border="1" bgcolor="#808000">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Yellow table with a white body background</p>
<table border="1" bgcolor="#FFFF00">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Navy table with a white body background</p>
<table border="1" bgcolor="#000080">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Blue table with a white body background</p>
<table border="1" bgcolor="#0000FF">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Teal table with a white body background</p>
<table border="1" bgcolor="#008080">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
<p>Aqua table with a white body background</p>
<table border="1" bgcolor="#00FFFF">
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
<tr>
<td>table table table table</td>
<td>table table table table</td>
<td>table table table table</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_border</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>No 'number' specification is given for border. There should be a
2 pixel border around the frame of the table below.</p>
<table border="1">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_border_none</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>There should be no border around the frame of the table
below.</p>
<table border="0">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_border_px</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>There should be a 5 pixel border around the frame of the table
below.</p>
<table border="5">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,92 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_cellpadding</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" cellpadding="10">
<tr>
<td>This cell should have an 10px padding</td>
<td>This cell should have an 10px padding</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_cellpadding_pct</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" cellpadding="20%">
<tr>
<td>This cell should have 20% padding</td>
<td>This cell should have 20% padding</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_cellspacing</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/5/98
Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" cellspacing="10">
<tr>
<td>This cell should have 10px spacing</td>
<td>This cell should have 10px spacing</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_cellspacing_pct</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/98
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" cellspacing="20%">
<tr>
<td>This cell should have 20% spacing</td>
<td>This cell should have 20% spacing</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,102 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_class</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
<style type="text/css">
.one { background-color: lime }
</style>
</head>
<body>
<table border="1" class="one">
<tr>
<td>Here is a bordered table using the CLASS attribute for
background color. The table should have a lime background.</td>
<td>Here is a bordered table using the CLASS attribute for
background color. The table should have a lime background.</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_above</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>Only the top side of the frame surrounding the table below
should be visible.</p>
<table frame="above">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_below</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>Only the bottom side of the frame surrounding the table below
should be visible.</p>
<table frame="below">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_border</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>All four sides of the frame surrounding the table below should
be visible.</p>
<table frame="border">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_box</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>All four sides of the frame surrounding the table below should
be visible.</p>
<table frame="box">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_hsides</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>Only the top and bottom sides of the frame surrounding the table
below should be visible.</p>
<table frame="hsides">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_lhs</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>Only the left side of the frame surrounding the table below
should be visible.</p>
<table frame="lhs">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_rhs</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>Only the right side of the frame surrounding the table below
should be visible.</p>
<table frame="rhs">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_void</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>No side of the frame surrounding the table below should be
visible.</p>
<table frame="void">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_frame_vsides</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>Only the right and left sides of the frame surrounding the table
below should be visible.</p>
<table frame="vsides">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,98 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_id</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
<style type="text/css">
#xyz12 { background-color: lime }
</style>
</head>
<body>
<table border="1" id="xyz12">
<tr>
<td>Here is a bordered table using the ID attribute for background
color. The table should have a lime background.</td>
<td>Here is a bordered table using the ID attribute for background
color. The table should have a lime background.</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_rules_all</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/30/01 -->
</head>
<body>
<p>There should be rules between all rows and columns in the table
below.</p>
<table border="1" rules="all">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_rules_cols</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
</head>
<body>
<p>There should be rules between all columns (and only columns) in
the table below.</p>
<table border="1" rules="cols">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_rules_groups</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/10/2000
-->
</head>
<body>
<p>There should be rules around each row and column group in the
table below.</p>
<table border="1" rules="groups">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_rules_none.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>There should be no rules between any rows and columns in the
table below.</p>
<table border="1" rules="none">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,154 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_rules_rows.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<p>There should be rules between all rows (and only rows) in the
table below.</p>
<table border="1" rules="rows">
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_style.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/11/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/11/2000
-->
</head>
<body>
<table style="border: solid red">
<tr>
<td>This tests the 'style' attribute of TABLE. This table should
have a solid medium red border</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,146 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_width_pct.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/11/99
Chris Petersen Date: 7/12/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" width="100%">
<tr>
<td>This table should have a width 100% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="75%">
<tr>
<td>This table should have a width 75% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="50%">
<tr>
<td>This table should have a width 50% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="25%">
<tr>
<td>This table should have a width 25% of the available horizontal
space</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,156 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_width_px.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/11/99
Chris Petersen Date: 5/24/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" width="100">
<tr>
<td>This table should have a width of 100 pixels</td>
</tr>
</table>
<br />
<table border="1" width="200">
<tr>
<td>This table should have a width of 200 pixels</td>
</tr>
</table>
<br />
<table border="1" width="300">
<tr>
<td>This table should have a width of 300 pixels</td>
</tr>
</table>
<br />
<table border="1" width="400">
<tr>
<td>This table should have a width of 400 pixels</td>
</tr>
</table>
<br />
<table border="1" width="500">
<tr>
<td>This table should have a width of 500 pixels</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,116 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_align_center.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TBODY text should be center aligned.</p>
<table border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody align="center">
<tr>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,164 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_align_char.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/27/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>The numbers in the TBODY should align at the decimal points</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
<td>THEAD</td>
</tr>
<tr>
<td>THEAD</td>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody align="char" char=".">
<tr>
<td>TBODY 55.00</td>
<td>TBODY 55555.00</td>
<td>TBODY 555.00</td>
</tr>
<tr>
<td>TBODY 1234.56</td>
<td>TBODY 123.45</td>
<td>TBODY 12345.67</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_align_justify.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TBODY text should be justified.</p>
<table width="300" border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody align="justify">
<tr>
<td>This TBODY text should be justified which means that the right
and left margins should line up, no matter how long the content
becomes (except the last line which should be left aligned)</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_align_left.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TBODY text should be left aligned.</p>
<table border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody align="left">
<tr>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_align_right.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TBODY text should be right aligned.</p>
<table border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody align="right">
<tr>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_class.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
<style type="text/css">
.one { background-color: lime }
</style>
</head>
<body>
<table border="1">
<tbody class="one">
<tr>
<td>This tbody should have a lime background</td>
<td>This tbody should have a lime background</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_id.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
<style type="text/css">
#xyz12 { background-color: lime }
</style>
</head>
<body>
<table border="1">
<tbody id="xyz12">
<tr>
<td>This tbody should have a lime background</td>
<td>This tbody should have a lime background</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_style.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/22/2000
-->
</head>
<body>
<table border="1">
<tbody style="background-color: lime">
<tr>
<td>This tbody should have a lime background</td>
<td>This tbody should have a lime background</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_valign_baseline</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/29/99, 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>TBODY VALIGN=BASELINE</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody valign="baseline">
<tr>
<td>Compare the baseline of the first line of text in this cell
with the baseline of the first line of text in the next cell: they
should be vertically aligned</td>
<td style="font-size: 30pt">Compare the baseline of the first line
of text in this cell with the baseline of the first line of text in
the previous cell: they should be vertically aligned</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,134 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_valign_bottom</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/29/99, 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>TBODY VALIGN=BOTTOM</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody valign="bottom">
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The bottom of this text should be vertically aligned to the
bottom of the image. x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,122 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_valign_middle</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/29/99, 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>TBODY VALIGN=MIDDLE</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody valign="middle">
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>This text should be vertically aligned to the middle of the
image</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,128 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tbody_valign_top</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/29/99, 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>TBODY VALIGN=TOP</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody valign="top">
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td>The top of this text should be vertically aligned to the top of
the image</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_align_center</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TEST: td align="center"</p>
<p><b>Example 1.</b><br />
Table width=100%</p>
<table border="1" width="100%">
<tr>
<td align="center">Cell text should be center aligned</td>
</tr>
</table>
<p><b>Example 2.</b><br />
No specific table width; text in second row exceeds text in first
row</p>
<table border="1">
<tr>
<td align="center">Cell text should be center aligned</td>
</tr>
<tr>
<td>xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
xxx xxx xxx xxx</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_align_char</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TEST: Numbers should align by decimal points</p>
<table border="1">
<tr>
<td align="char" char=".">55.00</td>
<td align="char" char=".">55555.00</td>
<td align="char" char=".">555.00</td>
</tr>
<tr>
<td align="char" char=".">1234.56</td>
<td align="char" char=".">123.45</td>
<td align="char" char=".">12345.67</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,94 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_align_justify</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<table border="1">
<tr>
<td width="400" align="justify">This cell text should be justified
which means that the right and left margins should line up, no
matter how long the content becomes (except the last line which
should be left aligned)</td>
<td width="400">This cell text should be left justified</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_align_left</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TEST: td align="left"</p>
<p><b>Example 1.</b><br />
Table width=100%</p>
<table border="1" width="100%">
<tr>
<td align="left">Cell text should be left aligned</td>
</tr>
</table>
<p><b>Example 2.</b><br />
No specific table width; text in second row exceeds text in first
row</p>
<table border="1">
<tr>
<td align="left">Cell text should be left aligned</td>
</tr>
<tr>
<td>xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
xxx xxx xxx xxx</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_align_right</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TEST: td align="right"</p>
<p><b>Example 1.</b><br />
Table width=100%</p>
<table border="1" width="100%">
<tr>
<td align="right">Cell text should be right aligned</td>
</tr>
</table>
<p><b>Example 2.</b><br />
No specific table width; text in second row exceeds text in first
row</p>
<table border="1">
<tr>
<td align="right">Cell text should be right aligned</td>
</tr>
<tr>
<td>xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
xxx xxx xxx xxx</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,778 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_bgcolor_name</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/6/2000
-->
</head>
<body bgcolor="#FFFFFF">
<p>Black table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="black">
table table table table</td>
<td bgcolor="black">
table table table table</td>
<td bgcolor="black">
table table table table</td>
</tr>
<tr>
<td bgcolor="black">
table table table table</td>
<td bgcolor="black">
table table table table</td>
<td bgcolor="black">
table table table table</td>
</tr>
</table>
<p>Silver table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="silver">
table table table table</td>
<td bgcolor="silver">
table table table table</td>
<td bgcolor="silver">
table table table table</td>
</tr>
<tr>
<td bgcolor="silver">
table table table table</td>
<td bgcolor="silver">
table table table table</td>
<td bgcolor="silver">
table table table table</td>
</tr>
</table>
<p>Gray table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="gray">
table table table table</td>
<td bgcolor="gray">
table table table table</td>
<td bgcolor="gray">
table table table table</td>
</tr>
<tr>
<td bgcolor="gray">
table table table table</td>
<td bgcolor="gray">
table table table table</td>
<td bgcolor="gray">
table table table table</td>
</tr>
</table>
<p>White table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="white">
table table table table</td>
<td bgcolor="white">
table table table table</td>
<td bgcolor="white">
table table table table</td>
</tr>
<tr>
<td bgcolor="white">
table table table table</td>
<td bgcolor="white">
table table table table</td>
<td bgcolor="white">
table table table table</td>
</tr>
</table>
<p>Maroon table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="maroon">
table table table table</td>
<td bgcolor="maroon">
table table table table</td>
<td bgcolor="maroon">
table table table table</td>
</tr>
<tr>
<td bgcolor="maroon">
table table table table</td>
<td bgcolor="maroon">
table table table table</td>
<td bgcolor="maroon">
table table table table</td>
</tr>
</table>
<p>Red table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="red">
table table table table</td>
<td bgcolor="red">
table table table table</td>
<td bgcolor="red">
table table table table</td>
</tr>
<tr>
<td bgcolor="red">
table table table table</td>
<td bgcolor="red">
table table table table</td>
<td bgcolor="red">
table table table table</td>
</tr>
</table>
<p>Purple table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="purple">
table table table table</td>
<td bgcolor="purple">
table table table table</td>
<td bgcolor="purple">
table table table table</td>
</tr>
<tr>
<td bgcolor="purple">
table table table table</td>
<td bgcolor="purple">
table table table table</td>
<td bgcolor="purple">
table table table table</td>
</tr>
</table>
<p>Fuchsia table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="fuchsia">
table table table table</td>
<td bgcolor="fuchsia">
table table table table</td>
<td bgcolor="fuchsia">
table table table table</td>
</tr>
<tr>
<td bgcolor="fuchsia">
table table table table</td>
<td bgcolor="fuchsia">
table table table table</td>
<td bgcolor="fuchsia">
table table table table</td>
</tr>
</table>
<p>Green table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="green">
table table table table</td>
<td bgcolor="green">
table table table table</td>
<td bgcolor="green">
table table table table</td>
</tr>
<tr>
<td bgcolor="green">
table table table table</td>
<td bgcolor="green">
table table table table</td>
<td bgcolor="green">
table table table table</td>
</tr>
</table>
<p>Lime table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="lime">
table table table table</td>
<td bgcolor="lime">
table table table table</td>
<td bgcolor="lime">
table table table table</td>
</tr>
<tr>
<td bgcolor="lime">
table table table table</td>
<td bgcolor="lime">
table table table table</td>
<td bgcolor="lime">
table table table table</td>
</tr>
</table>
<p>Olive table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="olive">
table table table table</td>
<td bgcolor="olive">
table table table table</td>
<td bgcolor="olive">
table table table table</td>
</tr>
<tr>
<td bgcolor="olive">
table table table table</td>
<td bgcolor="olive">
table table table table</td>
<td bgcolor="olive">
table table table table</td>
</tr>
</table>
<p>Yellow table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="yellow">
table table table table</td>
<td bgcolor="yellow">
table table table table</td>
<td bgcolor="yellow">
table table table table</td>
</tr>
<tr>
<td bgcolor="yellow">
table table table table</td>
<td bgcolor="yellow">
table table table table</td>
<td bgcolor="yellow">
table table table table</td>
</tr>
</table>
<p>Navy table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="navy">
table table table table</td>
<td bgcolor="navy">
table table table table</td>
<td bgcolor="navy">
table table table table</td>
</tr>
<tr>
<td bgcolor="navy">
table table table table</td>
<td bgcolor="navy">
table table table table</td>
<td bgcolor="navy">
table table table table</td>
</tr>
</table>
<p>Blue table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="blue">
table table table table</td>
<td bgcolor="blue">
table table table table</td>
<td bgcolor="blue">
table table table table</td>
</tr>
<tr>
<td bgcolor="blue">
table table table table</td>
<td bgcolor="blue">
table table table table</td>
<td bgcolor="blue">
table table table table</td>
</tr>
</table>
<p>Teal table with a white body background</p>
<table>
<tr>
<td bgcolor="teal">
table table table table</td>
<td bgcolor="teal">
table table table table</td>
<td bgcolor="teal">
table table table table</td>
</tr>
<tr>
<td bgcolor="teal">
table table table table</td>
<td bgcolor="teal">
table table table table</td>
<td bgcolor="teal">
table table table table</td>
</tr>
</table>
<p>Aqua table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="aqua">
table table table table</td>
<td bgcolor="aqua">
table table table table</td>
<td bgcolor="aqua">
table table table table</td>
</tr>
<tr>
<td bgcolor="aqua">
table table table table</td>
<td bgcolor="aqua">
table table table table</td>
<td bgcolor="aqua">
table table table table</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,778 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_bgcolor_name</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 4/20/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/6/2000
-->
</head>
<body bgcolor="#FFFFFF">
<p>Black table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#000000">
table table table table</td>
<td bgcolor="#000000">
table table table table</td>
<td bgcolor="#000000">
table table table table</td>
</tr>
<tr>
<td bgcolor="#000000">
table table table table</td>
<td bgcolor="#000000">
table table table table</td>
<td bgcolor="#000000">
table table table table</td>
</tr>
</table>
<p>Silver table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#C0C0C0">
table table table table</td>
<td bgcolor="#C0C0C0">
table table table table</td>
<td bgcolor="#C0C0C0">
table table table table</td>
</tr>
<tr>
<td bgcolor="#C0C0C0">
table table table table</td>
<td bgcolor="#C0C0C0">
table table table table</td>
<td bgcolor="#C0C0C0">
table table table table</td>
</tr>
</table>
<p>Gray table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#808080">
table table table table</td>
<td bgcolor="#808080">
table table table table</td>
<td bgcolor="#808080">
table table table table</td>
</tr>
<tr>
<td bgcolor="#808080">
table table table table</td>
<td bgcolor="#808080">
table table table table</td>
<td bgcolor="#808080">
table table table table</td>
</tr>
</table>
<p>White table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#FFFFFF">
table table table table</td>
<td bgcolor="#FFFFFF">
table table table table</td>
<td bgcolor="#FFFFFF">
table table table table</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
table table table table</td>
<td bgcolor="#FFFFFF">
table table table table</td>
<td bgcolor="#FFFFFF">
table table table table</td>
</tr>
</table>
<p>Maroon table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#800000">
table table table table</td>
<td bgcolor="#800000">
table table table table</td>
<td bgcolor="#800000">
table table table table</td>
</tr>
<tr>
<td bgcolor="#800000">
table table table table</td>
<td bgcolor="#800000">
table table table table</td>
<td bgcolor="#800000">
table table table table</td>
</tr>
</table>
<p>Red table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#FF0000">
table table table table</td>
<td bgcolor="#FF0000">
table table table table</td>
<td bgcolor="#FF0000">
table table table table</td>
</tr>
<tr>
<td bgcolor="#FF0000">
table table table table</td>
<td bgcolor="#FF0000">
table table table table</td>
<td bgcolor="#FF0000">
table table table table</td>
</tr>
</table>
<p>Purple table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#800080">
table table table table</td>
<td bgcolor="#800080">
table table table table</td>
<td bgcolor="#800080">
table table table table</td>
</tr>
<tr>
<td bgcolor="#800080">
table table table table</td>
<td bgcolor="#800080">
table table table table</td>
<td bgcolor="#800080">
table table table table</td>
</tr>
</table>
<p>Fuchsia table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#FF00FF">
table table table table</td>
<td bgcolor="#FF00FF">
table table table table</td>
<td bgcolor="#FF00FF">
table table table table</td>
</tr>
<tr>
<td bgcolor="#FF00FF">
table table table table</td>
<td bgcolor="#FF00FF">
table table table table</td>
<td bgcolor="#FF00FF">
table table table table</td>
</tr>
</table>
<p>Green table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#008000">
table table table table</td>
<td bgcolor="#008000">
table table table table</td>
<td bgcolor="#008000">
table table table table</td>
</tr>
<tr>
<td bgcolor="#008000">
table table table table</td>
<td bgcolor="#008000">
table table table table</td>
<td bgcolor="#008000">
table table table table</td>
</tr>
</table>
<p>Lime table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#00FF00">
table table table table</td>
<td bgcolor="#00FF00">
table table table table</td>
<td bgcolor="#00FF00">
table table table table</td>
</tr>
<tr>
<td bgcolor="#00FF00">
table table table table</td>
<td bgcolor="#00FF00">
table table table table</td>
<td bgcolor="#00FF00">
table table table table</td>
</tr>
</table>
<p>Olive table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#808000">
table table table table</td>
<td bgcolor="#808000">
table table table table</td>
<td bgcolor="#808000">
table table table table</td>
</tr>
<tr>
<td bgcolor="#808000">
table table table table</td>
<td bgcolor="#808000">
table table table table</td>
<td bgcolor="#808000">
table table table table</td>
</tr>
</table>
<p>Yellow table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#FFFF00">
table table table table</td>
<td bgcolor="#FFFF00">
table table table table</td>
<td bgcolor="#FFFF00">
table table table table</td>
</tr>
<tr>
<td bgcolor="#FFFF00">
table table table table</td>
<td bgcolor="#FFFF00">
table table table table</td>
<td bgcolor="#FFFF00">
table table table table</td>
</tr>
</table>
<p>Navy table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#000080">
table table table table</td>
<td bgcolor="#000080">
table table table table</td>
<td bgcolor="#000080">
table table table table</td>
</tr>
<tr>
<td bgcolor="#000080">
table table table table</td>
<td bgcolor="#000080">
table table table table</td>
<td bgcolor="#000080">
table table table table</td>
</tr>
</table>
<p>Blue table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#0000FF">
table table table table</td>
<td bgcolor="#0000FF">
table table table table</td>
<td bgcolor="#0000FF">
table table table table</td>
</tr>
<tr>
<td bgcolor="#0000FF">
table table table table</td>
<td bgcolor="#0000FF">
table table table table</td>
<td bgcolor="#0000FF">
table table table table</td>
</tr>
</table>
<p>Teal table with a white body background</p>
<table>
<tr>
<td bgcolor="#008080">
table table table table</td>
<td bgcolor="#008080">
table table table table</td>
<td bgcolor="#008080">
table table table table</td>
</tr>
<tr>
<td bgcolor="#008080">
table table table table</td>
<td bgcolor="#008080">
table table table table</td>
<td bgcolor="#008080">
table table table table</td>
</tr>
</table>
<p>Aqua table with a white body background</p>
<table border="1">
<tr>
<td bgcolor="#00FFFF">
table table table table</td>
<td bgcolor="#00FFFF">
table table table table</td>
<td bgcolor="#00FFFF">
table table table table</td>
</tr>
<tr>
<td bgcolor="#00FFFF">
table table table table</td>
<td bgcolor="#00FFFF">
table table table table</td>
<td bgcolor="#00FFFF">
table table table table</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_class</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/23/2000
-->
<style type="text/css">
.one { background-color: lime }
</style>
</head>
<body>
<table border="1">
<tr>
<td class="one">This cell should have a lime background</td>
<td class="one">This cell should have a lime background</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,100 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<!-- test case: td_colspan.html -->
<!-- description: TD element/Colspan attribute -->
<!-- Author: Christine Dreckman Date: 5/10/99 -->
<!-- Modified: Chris Petersen Date: 5/19/99 -->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):
-->
<!-- Purpose: To test the TD element with the Colspan attribute -->
<!-- Expected result: The top row should span two columns -->
<title>HTML Functional -- TD - COLSPAN</title>
</head>
<body>
<table border="1">
<tr>
<td colspan="2">This cell spans two columns</td>
</tr>
<tr>
<td>xxx xxx</td>
<td>xxx xxx</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,156 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_height</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/7/2000
-->
</head>
<body>
<table border="1">
<tr>
<td height="100">The height of this cell should be 100 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td height="200">The height of this cell should be 200 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td height="300">The height of this cell should be 300 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td height="400">The height of this cell should be 400 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td height="500">The height of this cell should be 500 pixels</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_id</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/23/2000
-->
<style type="text/css">
#xyz12 { background-color: lime }
</style>
</head>
<body>
<table border="1">
<tr>
<td id="xyz12">This cell should have a lime background</td>
<td id="xyz12">This cell should have a lime background</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_nowrap</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governin
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<table border="1">
<tr>
<td nowrap="nowrap">The text in the cell should not wrap upon
window resizing&nbsp;&nbsp;&nbsp;&nbsp;x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill</td>
</tr>
<tr>
<td nowrap="nowrap">The text in the cell should not wrap upon
window resizing&nbsp;&nbsp;&nbsp;&nbsp;x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,100 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<!-- test case: td_rowspan.xml -->
<!-- description: TD element/Rowspan attribute -->
<!-- Author: Christine Dreckman Date: 5/10/99 -->
<!-- Modified: Chris Petersen Date: 5/19/99 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!-- Purpose: To test the TD element with the Colspan attribute -->
<!-- Expected result: The left column should span two rows -->
<title>HTML Functional -- TD - ROWSPAN</title>
</head>
<body>
<table border="1">
<tr>
<td rowspan="2">This cell spans two rows</td>
<td>xxx xxx</td>
</tr>
<tr>
<td>xxx xxx</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,82 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_style</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 8/23/2000
-->
</head>
<body>
<table border="1">
<tr>
<td style="background-color: lime">This cell should have a lime
background</td>
<td style="background-color: lime">This cell should have a lime
background</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_valign_baseline</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/7/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TD VALIGN=BASELINE</p>
<table border="1">
<tr>
<td valign="baseline">Compare the baseline of the first line of
text in this cell with the baseline of the first line of text in
the next cell: they should be vertically aligned</td>
<td valign="baseline" style="font-size: 30pt">Compare the baseline
of the first line of text in this cell with the baseline of the
first line of text in the previous cell: they should be vertically
aligned</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_valign_bottom</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/7/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TD VALIGN=BOTTOM</p>
<table border="1">
<tr>
<td valign="bottom"><img src="../images/lime.gif" alt="image"
height="200" width="200" /></td>
<td valign="bottom">The bottom of this text should be vertically
aligned to the bottom of the image. x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill x-fill
x-fill x-fill x-fill x-fill x-fill x-fill</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,98 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_valign_middle</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/7/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TD VALIGN=MIDDLE</p>
<table border="1">
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td valign="middle">This text should be vertically aligned to the
middle of the image</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,98 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_valign_top</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/7/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TD VALIGN=TOP</p>
<table border="1">
<tr>
<td><img src="../images/lime.gif" alt="image" height="200"
width="200" /></td>
<td valign="top">The top of this text should be vertically aligned
to the top of the image</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,158 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>td_width</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/10/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/7/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
</head>
<body>
<table border="1">
<tr>
<td width="100">The width of this cell should be 100 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td width="200">The width of this cell should be 200 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td width="300">The width of this cell should be 300 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td width="400">The width of this cell should be 400 pixels</td>
</tr>
</table>
<br />
<table border="1">
<tr>
<td width="500">The width of this cell should be 500 pixels</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tfoot_align_center.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 2/01/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TFOOT text should be center aligned</p>
<table border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot align="center">
<tr>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>This text is in the TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,164 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tfoot_align_char.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 2/01/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/27/99
Chris Petersen Date: 5/18/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>The numbers in the TFOOT should align at the decimal points</p>
<table border="1">
<thead>
<tr>
<td>THEAD</td>
<td>THEAD</td>
<td>THEAD</td>
</tr>
<tr>
<td>THEAD</td>
<td>THEAD</td>
<td>THEAD</td>
</tr>
</thead>
<tfoot align="char" char=".">
<tr>
<td>TFOOT 55.00</td>
<td>TFOOT 55555.00</td>
<td>TFOOT 555.00</td>
</tr>
<tr>
<td>TFOOT 1234.56</td>
<td>TFOOT 123.45</td>
<td>TFOOT 12345.67</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tfoot_align_justify.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 1/13/99
Chris Petersen Date: 5/18/99
Christine Dreckman Date: 9/7/2000
-->
</head>
<body>
<p>In this test, the TFOOT text should be justified.</p>
<table width="300" border="1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot align="justify">
<tr>
<td>This TFOOT text should be justified which means that the right
and left margins should line up, no matter how long the content
becomes (except the last line which should be left aligned)</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>This text is in the TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More