new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@100537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ddfdb75453
commit
94d8fb85d9
42
mozilla/layout/html/tests/table/bugs/bug78162.html
Normal file
42
mozilla/layout/html/tests/table/bugs/bug78162.html
Normal file
@ -0,0 +1,42 @@
|
||||
<BASE HREF="http://bugzilla.mozilla.org/">
|
||||
<html><head><title>Testcase for bug 78162</title></head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
<table border=1 width="620">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="120">
|
||||
<tr>
|
||||
<form>
|
||||
<input type="hidden">
|
||||
<td></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td width="510" nowrap>
|
||||
<table border=1>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding=0 cellspacing=10 width=100%>
|
||||
<tr>
|
||||
<td><A href=http://servedby.advertising.com/click/site=0000006977/mnum=0000007395/bnum=89805666 target=_top><IMG src="../images/bnum.gif" border=0 width=468 height=60 alt='Click to learn more...'></A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
Your donation to protect our wildlife was paid
|
||||
for by the sponsors on this page, so it's free.
|
||||
100% of each donation is distributed through organizations
|
||||
working hard to protect our wildlife. You can view live
|
||||
donation totals in support of this cause by clicking.
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
35
mozilla/layout/html/tests/table/bugs/bug80762-1.html
Normal file
35
mozilla/layout/html/tests/table/bugs/bug80762-1.html
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head>
|
||||
<title>Bug 80762</title>
|
||||
</head><body>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td>text below cant break out of this table</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="100%">
|
||||
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
|
||||
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
37
mozilla/layout/html/tests/table/bugs/bug80762-2.html
Normal file
37
mozilla/layout/html/tests/table/bugs/bug80762-2.html
Normal file
@ -0,0 +1,37 @@
|
||||
<table cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="54">foo</td>
|
||||
<td width="100%">bar</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" colspan="2">
|
||||
<table border>
|
||||
<tr>
|
||||
<td>
|
||||
When the Whiten house burned down in Renfrew Ontario, the insurer denied liability, asserting that the Plaintiff Daphne Whiten was the cause of the fire herself and had committed arson.<br><br>
|
||||
|
||||
The insurance company had not only refused to pay, but had received opinions from its adjuster, its expert engineer and an investigative agency that the fire was accidental. Its own adjuster had recommended the claim be paid. The defendant's counsel, as the court found, had pressured experts to provide opinions supporting an arson defence and withheld relevant information from the experts and gave them misleading information to buttress the arson defence.<br><br>
|
||||
|
||||
After the fire the Plaintiff and her husband, Keith Whiten needed welfare assistance to support them.<br><br>
|
||||
|
||||
The jury, however, in a 4 week trial, disagreed with the position of the insurance company. It awarded not only the policy sum against the insurer, but also was sufficiently annoyed with the conduct of the company to award a further punitive damage award of $1 million.<br><br>
|
||||
|
||||
The company appealed. At the time of the appeal, the company acknowledged that the fire was accidental. The Ontario Court of Appeal reversed the jury award and in a 2-1 decision determined that there should be a cap on punitive damages of $100,000.<br><br>
|
||||
|
||||
Lawyers became hard pressed to reconcile this decision with a prior case, Hill vs. Church of Scientology. Hill, a Crown Attorney, had sued the Church for libel due to statements made accusing him of breaching a judge's order. He succeeded. The jury at trial, aside from awarding compensatory damages, also awarded a punitive damage sum of $800,000. The decision was appealed without success to the Ontario Court of Appeal and again to the Supreme Court of Canada. The award of punitive damages was sustained at both appellate levels.<br><br>
|
||||
|
||||
In the Whiten case, the insurance industry is mounting all its ammunition to maintain the notion of a cap on punitive damages. It is expected that the Court of Appeal decision will receive a rough ride in the Supreme Court, given the Hill decision a few years prior.<br><br>
|
||||
|
||||
The concept of punitive damages is designed to act as civil penalty imposed on a wrong doer, which has conducted itself in a vindictive manner, which offends one's sense of propriety - high handed shocking behaviour. Traditionally the financial abilities of the wrong doer are a factor - the deeper the pockets the more substantial the sum to be awarded.<br><br>
|
||||
|
||||
Canadian courts have been reluctant to embrace the concept - awards such as Hill are rare. It is worthy of note that the dissenting reasons of Justice Laskin in Whiten were much in favour of maintaining the trial award - a lucid and powerful dissent written by a much respected jurist. Much attention will be given to this decision. Oral argument is set for the week of December 11th. A decision will likely be forthcoming in March to June time period. This decision will be no doubt a much quoted decision for many years, regardless of the outcome.<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
mozilla/layout/html/tests/table/bugs/bug82946-1.html
Normal file
31
mozilla/layout/html/tests/table/bugs/bug82946-1.html
Normal file
@ -0,0 +1,31 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>The XML Cover Pages - Home Page</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
<body>
|
||||
<p>The image below has a width of 459px. When the table below it has a width of 459px or greater,
|
||||
the bottom row overlaps the top row</p>
|
||||
Table with width=459<br>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td rowspan="2">sidebar</td>
|
||||
<td>
|
||||
<img src="../images/rclogo460.gif" alt="The XML Cover Pages">
|
||||
<table width="459" border="1"><tr><td>THIS IS A TABLE</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
The XML Cover Pages is a comprehensive online reference work for the Extensible Markup
|
||||
Language (XML) and its parent, the Standard Generalized Markup Language
|
||||
(SGML). The reference collection features extensive documentation on the
|
||||
application of the open, interoperable "markup language" standards, including
|
||||
XSL, XSLT, XPath, XQuery, XLink, XPointer, XHTML, HyTime, DSSSL, CSS, SPDL, SVG, CGM, ISO-HTML,
|
||||
and others.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
53
mozilla/layout/html/tests/table/bugs/bug82946-2.html
Normal file
53
mozilla/layout/html/tests/table/bugs/bug82946-2.html
Normal file
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="HTML Tidy, see www.w3.org">
|
||||
|
||||
<title></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table width="768">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="506">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=
|
||||
"../images/24pipe.7.jpg"
|
||||
border="0">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td rowspan="2"><br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table width="468" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="84"> </td>
|
||||
|
||||
<td width="381">
|
||||
<p align="Left"> <font color="#000000">to
|
||||
Receive 50% Off Home Delivery of The New York
|
||||
Times Newspaper.</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
12
mozilla/layout/html/tests/table/bugs/bug88524.html
Normal file
12
mozilla/layout/html/tests/table/bugs/bug88524.html
Normal file
@ -0,0 +1,12 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Centered Text</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<TABLE WIDTH="100%" HEIGHT="100%">
|
||||
<TR>
|
||||
<TD ALIGN=CENTER VALIGN=MIDDLE>Centered</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@ -36,14 +36,20 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug7342.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug73629.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug7471.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug7714.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug78162.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8032-1.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8032-2.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug80762-1.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug80762-2.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug82946-1.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug82946-2.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8361.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8381.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8411.xml
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug83786.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8499.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug86220.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug88524.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8858.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8950.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug9024.html
|
||||
|
||||
BIN
mozilla/layout/html/tests/table/images/24pipe.7.jpg
Normal file
BIN
mozilla/layout/html/tests/table/images/24pipe.7.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
mozilla/layout/html/tests/table/images/bnum.gif
Normal file
BIN
mozilla/layout/html/tests/table/images/bnum.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
mozilla/layout/html/tests/table/images/rclogo460.gif
Normal file
BIN
mozilla/layout/html/tests/table/images/rclogo460.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
61
mozilla/layout/html/tests/table/interactive/bug91934.html
Normal file
61
mozilla/layout/html/tests/table/interactive/bug91934.html
Normal file
@ -0,0 +1,61 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
TD
|
||||
{
|
||||
border: 1px solid;
|
||||
width:125px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.onload = windowLoad;
|
||||
|
||||
function windowLoad()
|
||||
{
|
||||
var newTable = document.createElement("table");
|
||||
newTable.id = "newTable";
|
||||
|
||||
for(var y=0;y<5;y++)
|
||||
|
||||
{
|
||||
var newRow = newTable.insertRow(y);
|
||||
|
||||
|
||||
for(x=0;x<5;x++)
|
||||
|
||||
{
|
||||
var newCell = newRow.insertCell(x);
|
||||
|
||||
|
||||
if(y == 0 && x == 4)
|
||||
{
|
||||
newCell.appendChild(document.createTextNode("A looooooooooooooooooooooooooooooooooooooooong string"));
|
||||
}
|
||||
else
|
||||
{
|
||||
newCell.appendChild(document.createTextNode("r" + y + "c" + x));
|
||||
}
|
||||
}
|
||||
}
|
||||
document.body.appendChild(newTable);
|
||||
}
|
||||
|
||||
function modify()
|
||||
{
|
||||
var t = document.getElementById("newTable");
|
||||
|
||||
var cell = t.rows[0].cells[4];
|
||||
|
||||
cell.firstChild.nodeValue = "A short string";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form>
|
||||
<input type="button" onclick="modify();" value="(1) Fill cell with lshort string"><br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
20
mozilla/layout/html/tests/table/interactive/bug92647.html
Normal file
20
mozilla/layout/html/tests/table/interactive/bug92647.html
Normal file
@ -0,0 +1,20 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
hit the button
|
||||
<BR>
|
||||
<TABLE border="1">
|
||||
<TR>
|
||||
<TD>
|
||||
<TABLE border="1">
|
||||
<TR>
|
||||
<TD WIDTH="30%"></TD>
|
||||
<TD WIDTH="70%"><INPUT TYPE=button></TD>
|
||||
<TD></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
file:///s|/mozilla/layout/html/tests/table/printing/bug26792.html
|
||||
#file:///s|/mozilla/layout/html/tests/table/printing/bug26792.html
|
||||
file:///s|/mozilla/layout/html/tests/table/printing/bug53690.html
|
||||
file:///s|/mozilla/layout/html/tests/table/printing/bug54829.html
|
||||
file:///s|/mozilla/layout/html/tests/table/printing/bug57378.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user