зеркало из https://github.com/mozilla/gecko-dev.git
new regression tests
This commit is contained in:
Родитель
ae66bdf938
Коммит
845b512f66
|
@ -0,0 +1,66 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<HTML><HEAD>
|
||||
<title>Results of my CSS tests</title>
|
||||
<base href="http://www.fas.harvard.edu/~dbaron/css/test/">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<LINK REL="copyright" HREF="/~dbaron/legal.html">
|
||||
<LINK REL="stylesheet" HREF="http://www.w3.org/StyleSheets/Core/Oldstyle" TITLE="Oldstyle" TYPE="text/css">
|
||||
<style type="text/css">
|
||||
.U { background-color: #CCC; color: #000; } /* untested */
|
||||
.Y { background-color: #090; color: #FFF; } /* yes */
|
||||
.N { background-color: #009; color: #FFF; } /* no support */
|
||||
.P { background-color: #066; color: #FFF; } /* partial support */
|
||||
.B { background-color: #C00; color: #FF0; } /* buggy */
|
||||
.D { background-color: #F60; color: #066; } /* destroys */
|
||||
.M { background-color: #900; color: #FFF; } /* maybe */
|
||||
.C { background-color: #000; color: #FF0; font-weight: bold; } /* maybe */
|
||||
#res TH { text-align: right; }
|
||||
TR.gap TD, TR.gap TH { border-top: 0.75em solid #FFFFF5; }
|
||||
</style>
|
||||
</HEAD>
|
||||
<body>
|
||||
|
||||
<table id="res">
|
||||
<tr>
|
||||
<th>17.6 <a href="tborder2">Table Border Test 2</a></th>
|
||||
<td class="B">B</td> <!-- NGLay -->
|
||||
<td class="N">N</td> <!-- Opera 3.51 -->
|
||||
<td class="N">N</td> <!-- Opera 3.60b3 -->
|
||||
<td class="N">N</td> <!-- MSIE5 -->
|
||||
<td class="N">N</td> <!-- NN 4.5 -->
|
||||
<td class="U">U</td> <!-- WebTV 1.1 -->
|
||||
<td class="spec">CSS2</td>
|
||||
</tr>
|
||||
<tr class="gap">
|
||||
<th>Tests Y (+1)</th>
|
||||
<td class="Y">31</td> <!-- NGLay -->
|
||||
<td class="Y"> </td> <!-- Opera 3.51 -->
|
||||
<td class="Y">16</td> <!-- Opera 3.60b3 -->
|
||||
<td class="Y">16</td> <!-- MSIE5 -->
|
||||
<td class="Y">2</td> <!-- NN 4.5 -->
|
||||
<td class="Y">U</td> <!-- WebTV 1.1 -->
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Tests N (0)</th>
|
||||
<td class="N">4</td> <!-- NGLay -->
|
||||
<td class="N"> </td> <!-- Opera 3.51 -->
|
||||
<td class="N">21</td> <!-- Opera 3.60b3 -->
|
||||
<td class="N">14</td> <!-- MSIE5 -->
|
||||
<td class="N">18</td> <!-- NN 4.5 -->
|
||||
<td class="N">U</td> <!-- WebTV 1.1 -->
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<hr title="Beginning of Footer">
|
||||
<p><a href="http://validator.w3.org/check?uri=http://www.fas.harvard.edu/~dbaron/csstest/" TITLE="W3C HTML Validator"><img src="../../images/vh40.gif" ALT="Valid HTML 4.0!" height="31" width="88"></a></p>
|
||||
<p>(Back to
|
||||
<a href="./">CSS Testing Information</a>,
|
||||
<a href="../../">David Baron</a>)</p>
|
||||
<p><a href="/~dbaron/" TITLE="David Baron's Homepage">LDB</a>,
|
||||
<a rev="made" href="mailto:dbaron@fas.harvard.edu" TITLE="Send e-mail to David Baron">dbaron@fas.harvard.edu</a></p>
|
||||
|
||||
</BODY></HTML>
|
|
@ -0,0 +1,69 @@
|
|||
<html><head>
|
||||
<style>
|
||||
.foo {border: 1px dashed red;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Tests of padding in table cells. </p>
|
||||
|
||||
<table border=0 cellpadding=10><tr><td valign=top>
|
||||
|
||||
<p><b>1) padding: 20px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding:20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td><td valign=top>
|
||||
|
||||
<p><b>2) padding: 10px 25px 30px 45px;</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding: 10px 25px 30px 45px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td></tr></table>
|
||||
|
||||
<br>
|
||||
<table border=0 cellpadding=10><tr><td valign=top>
|
||||
|
||||
<p><b>3) padding-left: 20px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding-left:20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td><td valign=top>
|
||||
|
||||
<p><b>4) padding-right: 20px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding-right:20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td><td valign=top>
|
||||
|
||||
<p><b>5) padding-top: 20px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding-top:20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td><td valign=top>
|
||||
|
||||
<p><b>6) padding-bottom: 20px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding-bottom: 20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
</td></tr></table>
|
||||
|
||||
<br>
|
||||
<p><b>misc) padding: 20px 10px 40px 0px</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding: 20px 10px 40px 0px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
<p><b>misc) padding-top: 10px; padding-bottom: 20px;</b></p>
|
||||
<table border=1>
|
||||
<tr><td style="padding-top: 10px; padding-bottom: 20px;"><div class="foo">FOO</div></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body></html>
|
||||
|
|
@ -46,6 +46,8 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug2684.html
|
|||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2757.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2763.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2773.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2886.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2886-2.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2962.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2973.html
|
||||
file:///s:/mozilla/layout/html/tests/table/bugs/bug2981-1.html
|
||||
|
|
|
@ -8,7 +8,8 @@ file:///s:/mozilla/layout/html/tests/table/core/col_widths.html
|
|||
file:///s:/mozilla/layout/html/tests/table/core/col_widths2.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/conflicts.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/misc.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/one_row.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/misc.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/nested1.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/row_span.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/table_heights.html
|
||||
file:///s:/mozilla/layout/html/tests/table/core/table_widths.html
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
<table border>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=orange width=100%>
|
||||
<tr>
|
||||
<td>nested in auto, width=100%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR>
|
||||
<table border width=200>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=lime width=100%>
|
||||
<tr>
|
||||
<td>nested in fixed, width=100%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR>
|
||||
<table border width=800>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=lime width=100%>
|
||||
<tr>
|
||||
<td>nested in fixed, width=100%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR>
|
||||
<table border>
|
||||
<tr>
|
||||
<td>
|
||||
<table orange width=100%>
|
||||
<tr>
|
||||
<td>nested in auto, width=100%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>auto</td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR>
|
||||
<table border width=100%>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=lime width=50%>
|
||||
<tr>
|
||||
<td>nested in 100%, width=50%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>foo</td>
|
||||
</tr>
|
||||
</table>
|
||||
<BR>
|
||||
<table border width=100%>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=lime width=50%>
|
||||
<tr>
|
||||
<td>
|
||||
<table bgcolor=red width=50%>
|
||||
<tr>
|
||||
<td>2n50%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>foo</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче