Another round of tests converted from reflow branch (bug 300030) testcases.

This commit is contained in:
dbaron%dbaron.org 2007-02-17 05:37:13 +00:00
Родитель a29a890cd9
Коммит c7c8cde5ad
17 изменённых файлов: 546 добавлений и 0 удалений

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

@ -263,6 +263,8 @@ fails == object/svg-with-type.html object/svg-with-type-ref.html
== table-width/percent-small.html table-width/percent-small-ref.html
== table-width/percent-small-min.html table-width/percent-small-min-ref.html
== table-width/percent-small-nested.html table-width/percent-small-nested-ref.html
== table-width/percent-small-2.html table-width/percent-small-2-ref.html
== table-width/percent-zero.html table-width/percent-zero-ref.html
== table-width/shrink-wrap-pref.html table-width/shrink-wrap-pref-ref.html
== table-width/shrink-wrap-avail.html table-width/shrink-wrap-avail-ref.html
== table-width/shrink-wrap-min.html table-width/shrink-wrap-min-ref.html
@ -279,6 +281,12 @@ fails == object/svg-with-type.html object/svg-with-type-ref.html
== table-width/conflicting-widths-8.html table-width/conflicting-widths-8-ref.html
== table-width/conflicting-widths-9.html table-width/conflicting-widths-9-ref.html
== table-width/conflicting-widths-10.html table-width/conflicting-widths-10-ref.html
== table-width/conflicting-percent-widths-1.html table-width/conflicting-percent-widths-1-ref.html
== table-width/conflicting-percent-widths-2.html table-width/conflicting-percent-widths-2-ref.html
== table-width/conflicting-percent-widths-3.html table-width/conflicting-percent-widths-3-ref.html
== table-width/percent-truncation-1.html table-width/percent-truncation-1-ref.html
== table-width/percent-truncation-2.html table-width/percent-truncation-2-ref.html
random == table-width/percent-truncation-3.html table-width/percent-truncation-3-ref.html # bug 370720
# xul-document-load/
== xul-document-load/test001.xul xul-document-load/reference-green-window.xul

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

@ -0,0 +1,29 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<table>
<tr>
<td style="background: yellow" width="200">x</td>
<td style="background: aqua" width="200">x</td>
</tr>
<tr>
<td style="background: blue" width="200">x</td>
<td style="background: fuchsia" width="200">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,29 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<table width="400">
<tr>
<td style="background: yellow" width="50%">x</td>
<td style="background: aqua">x</td>
</tr>
<tr>
<td style="background: blue" width="25%">x</td>
<td style="background: fuchsia">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,42 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<!-- small percentage effect operates per-column -->
<table>
<tr>
<td style="background: yellow">x</td>
<td style="background: aqua">x</td>
</tr>
<tr>
<td style="background: blue">x</td>
<td style="background: fuchsia">x</td>
</tr>
</table>
<table>
<tr>
<td style="background: fuchsia">x</td>
<td style="background: blue">x</td>
</tr>
<tr>
<td style="background: aqua">x</td>
<td style="background: yellow">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,42 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<!-- small percentage effect operates per-column -->
<table>
<tr>
<td style="background: yellow" width="1%">x</td>
<td style="background: aqua">x</td>
</tr>
<tr>
<td style="background: blue" width="50%">x</td>
<td style="background: fuchsia">x</td>
</tr>
</table>
<table>
<tr>
<td style="background: fuchsia">x</td>
<td style="background: blue" width="50%">x</td>
</tr>
<tr>
<td style="background: aqua">x</td>
<td style="background: yellow" width="1%">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,44 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<!-- large percentage effect operates per-column -->
<!-- also depends on truncation of percentages to 100% -->
<table>
<tr>
<td style="background: yellow">x</td>
<td style="background: aqua">x</td>
</tr>
<tr>
<td style="background: blue">x</td>
<td style="background: fuchsia">x</td>
</tr>
</table>
<table>
<tr>
<td style="background: blue">x</td>
<td style="background: fuchsia">x</td>
</tr>
<tr>
<td style="background: yellow">x</td>
<td style="background: aqua">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,44 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Conflicting percent widths on table cells</title>
<style type="text/css">
table, td {
border-spacing: 0;
border: none;
padding: 0;
}
</style>
</head>
<body>
<!-- large percentage effect operates per-column -->
<!-- also depends on truncation of percentages to 100% -->
<table>
<tr>
<td style="background: yellow" width="50%">x</td>
<td style="background: aqua" width="99%">x</td>
</tr>
<tr>
<td style="background: blue" width="50%">x</td>
<td style="background: fuchsia" width="50%">x</td>
</tr>
</table>
<table>
<tr>
<td style="background: blue" width="50%">x</td>
<td style="background: fuchsia" width="50%">x</td>
</tr>
<tr>
<td style="background: yellow" width="50%">x</td>
<td style="background: aqua" width="99%">x</td>
</tr>
</table>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background: yellow">xxxxx</td>
<td style="background:aqua" width="100%">x</td>
</tr></table>
<table><tr>
<td style="background:aqua" width="100%">x</td>
<td style="background: yellow">xxxxx</td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background: yellow" width="1%">xxxxx</td>
<td style="background:aqua">x</td>
</tr></table>
<table><tr>
<td style="background:aqua">x</td>
<td style="background: yellow" width="1%">xxxxx</td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background:yellow" ><div style="width:200px">x</div></td>
<td style="background:aqua" ><div style="width:200px">x</div></td>
<td style="background:fuchsia"><div style="width:100px">x</div></td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background:yellow" width="40%"><div style="width:100px">x</div></td>
<td style="background:aqua" width="40%"><div style="width:100px">x</div></td>
<td style="background:fuchsia" width="40%"><div style="width:100px">x</div></td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,31 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 0;
padding: 0;
border: none;
empty-cells: show;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr height="50">
<td style="background:yellow" ><div style="width:200px"></div></td>
<td style="background:aqua" ><div style="width:200px"></div></td>
<td style="background:fuchsia"><div style="width:100px"></div></td>
<td style="background:blue" ></td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,31 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 0;
padding: 0;
border: none;
empty-cells: show;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr height="50">
<td style="background:yellow" width="40%"><div style="width:100px"></div></td>
<td style="background:aqua" width="40%"><div style="width:100px"></div></td>
<td style="background:fuchsia" width="40%"><div style="width:100px"></div></td>
<td style="background:blue" width="40%"></td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,31 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 0;
padding: 0;
border: none;
empty-cells: show;
}
td {
border: 1px solid;
padding: 0;
}
</style>
</head>
<body>
<table width="100%"><tr height="50">
<td style="background:yellow" width="40%"></td>
<td style="background:aqua" width="40%"></td>
<td style="background:fuchsia" width="20%"></td>
<td style="background:blue"></td>
</tr></table>
</body>
</html>

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

@ -0,0 +1,31 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 0;
padding: 0;
border: none;
empty-cells: show;
}
td {
border: 1px solid;
padding: 0;
}
</style>
</head>
<body>
<table><tr height="50">
<td style="background:yellow" width="40%"><div style="width:100px"></div></td>
<td style="background:aqua" width="40%"><div style="width:100px"></div></td>
<td style="background:fuchsia" width="40%"><div style="width:100px"></div></td>
<td style="background:blue" width="40%"></td> <!-- 2px wide from border -->
</tr></table>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background: yellow">x</td>
<td style="background:aqua">x</td>
</tr></table>
<table>
<tr><td style="background: yellow" width="50">x</td></tr>
<tr><td style="background:aqua" width="50">x</td></tr>
</table>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Percent widths on table cells</title>
<style type="text/css">
table {
border-spacing: 3px 5px;
padding: 2px 3px 4px 5px;
}
td {
border: none;
padding: 0;
}
</style>
</head>
<body>
<table><tr>
<td style="background: yellow" width="0%">x</td>
<td style="background:aqua">x</td>
</tr></table>
<table>
<tr><td style="background: yellow" width="0%">x</td></tr>
<tr><td style="background:aqua" width="50">x</td></tr>
</table>
</body>
</html>