new regression tests not affecting the build

git-svn-id: svn://10.0.0.236/trunk@68199 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2000-05-04 03:13:08 +00:00
parent cd525940c1
commit 1b46aa38ae
5 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<html>
<body>
BUG: Inside a cell, "height:x%" is ignored. It looks like 'auto' is used instead.<br>
<li>Absolute units work correctly (eg. 50px).
<li>"width:x%" works correctly.
<hr>
<table style="height:100px;width:100%">
<tr>
<td style="height:100%;width:100%;background: red;" >
<textarea style="width:80%;height:80%">BUG: the height of the textarea is not 80%</textarea>
</td>
</tr>
</table>
<hr>
<table style="height:100px;width:100%">
<tr>
<td style="height:100%;width:100%;background: red;" >
<textarea style="width:80%;height:80px">OK: the height of the textarea is 80 pixels</textarea>
</td>
</tr>
</table>
<hr>
<table style="height:100px;width:100%">
<tr>
<td style="height:100%;width:100%;background: red;" >
<p style="width:80%;height:80%;background:lightyellow;">BUG: the height of the P is not 80%</p>
</td>
</tr>
</table>
<hr>
<table style="height:100px;width:100%">
<tr>
<td style="height:100%;width:100%;background: red;" >
<p style="width:80%;height:80px;background:lightyellow;">OK: the height of the P is 80 pixels</p>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Bug 30985</title>
</head>
<body>
This is the first of two lines on this page.
<table style="display: block">
<tbody>
<tr style="display: block">
<td style="display: block">
This is the second of two lines on this page.
</td>
</tr>
</tbody>
</table>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<html>
<body>
<TABLE STYLE="position: absolute;">
<FORM>
<TR>
<TD> Test
</TR>
</TABLE>
</FORM>
</body>

View File

@@ -167,6 +167,8 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug30332-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug30559.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug30985.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug30692.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3103.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3105.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3191.html
@@ -177,6 +179,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug3309-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3309-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug33855.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3454.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug34538.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3517.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3681-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug3681-2.html

View File

@@ -0,0 +1,47 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<title>test</title>
<style type="text/css">
<!--
p {
font-size: 3em; margin-top: 11px; margin-bottom: 0;
}
--></style>
<table cellpadding="5">
<tr>
<td>
<p>a<br>b<br><br>d</p>
</td>
</tr>
<tr>
<td>
<p>e<br>f<br><br>h</p>
</td>
</tr>
<tr>
<td>
i<p>j<br>k<br><br>m</p>
</td>
</tr>
<tr>
<td>
n<br><br>n
</td>
<td>
o<p>p<br>q<br><br>s</p>
</td>
</tr>
<tr>
<td>
t
</td>
</tr>
<tr>
<td>
u<br><br><br>y
</td>
</tr>
</table>