зеркало из https://github.com/mozilla/pjs.git
adding some table regression tests not part of the build
This commit is contained in:
Родитель
04ff7c34c2
Коммит
152b42c1b5
|
@ -0,0 +1,41 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
Table Background Testcase
|
||||
</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<TABLE border=1 cellspacing=5 bgcolor="red">
|
||||
<colgroup style="background-color: yellow">
|
||||
<col style="background-color: silver">
|
||||
<col>
|
||||
</colgroup>
|
||||
<colgroup span=2>
|
||||
</colgroup>
|
||||
<tbody style="background-color: aqua">
|
||||
<TR bgcolor="blue">
|
||||
<TD bgcolor="green">Cell A</TD>
|
||||
<TD style="background: transparent">Cell B</TD>
|
||||
<TH>Cell C</TH>
|
||||
<TD>Cell D</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Cell E</TD>
|
||||
<TD>Cell F</TD>
|
||||
<TD>Cell G</TD>
|
||||
<TD>Cell H</TD>
|
||||
</TR>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<TR>
|
||||
<TD>Cell I</TD>
|
||||
<TD>Cell J</TD>
|
||||
<TD>Cell K</TD>
|
||||
<TD>Cell L</TD>
|
||||
</TR>
|
||||
</tbody>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Tables: Margins</title>
|
||||
<style type="text/css">
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
table {
|
||||
margin-left: 1em;
|
||||
margin-right: 19em;
|
||||
}
|
||||
div {
|
||||
border: green solid;
|
||||
width: 20em;
|
||||
height: 10em;
|
||||
font: 1em/1em monospace;
|
||||
overflow: hidden;
|
||||
}
|
||||
span {
|
||||
background: red;
|
||||
color: yellow;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div> <table> <tr> <td>
|
||||
This____
|
||||
text____
|
||||
should__
|
||||
be______
|
||||
wrapped,
|
||||
one_____
|
||||
word____
|
||||
to______
|
||||
a_______
|
||||
line.___
|
||||
<span>_FAIL!__</span>
|
||||
</td> </tr> </table> </div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>row color strict</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="width: 200px; background-color:green" cellspacing="60">
|
||||
<tr style="background-color:red">
|
||||
<td>foo</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="width:260px; border: solid thin">
|
||||
260px
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -42,6 +42,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug4527.html
|
|||
file:///s|/mozilla/layout/html/tests/table/bugs/bug4527.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug45350.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug4576.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug46268.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug46368-1.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug46368-2.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug46480-1.html
|
||||
|
|
|
@ -41,7 +41,9 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug8032-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/bug8858.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug8950.html
|
||||
file:///s|/mozilla/layout/html/tests/table/bugs/bug9024.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче