Regression test script for style regression tests, and first regression test file

git-svn-id: svn://10.0.0.236/trunk@83378 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
attinasi%netscape.com
2000-12-07 15:39:54 +00:00
parent ae39d4befe
commit 8c4b5f51fd
3 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3c.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Base Style Regression Test</TITLE>
<STYLE>
HTML {
background: white;
}
BODY {
background-image: url(http://www.mozilla.org/images/mozilla-banner.gif);
background-color: black;
color: white;
padding: 2em;
margin: 1em;
border: 2px solid gray;
}
P {
color: yellow;
}
DIV {
background-color: blue;
color: yellow;
width: 200px;
max-width: 200px;
height: 500px;
max-height: 500px;
zindex: 1;
border: 5px dotted white;
}
DIV DIV{
background-color: green;
color: yellow;
}
DIV P {
color: white;
}
DIV DIV P {
background-color: red;
color: green;
}
</STYLE>
</HEAD>
<BODY>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<div>
<p>Paragraph 3</p>
<div>
<p>Paragraph 4</p>
</div>
</div>
</BODY>
</HTML>

View File

@@ -0,0 +1 @@
file:///s:/mozilla/layout/html/tests/style/base.html

View File

@@ -0,0 +1,16 @@
@echo off
if "%1"=="baseline" goto baseline
:verify
if not exist verify mkdir verify
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\style\base\verify\ -rd s:\mozilla\layout\html\tests\style\base -f s:\mozilla\layout\html\tests\style\base\file_list1.txt
goto done
:baseline
s:\mozilla\dist\win32_d.obj\bin\viewer -d 1 -o s:\mozilla\layout\html\tests\style\base\ -f s:\mozilla\layout\html\tests\style\base\file_list1.txt
goto done
:error
echo syntax: rtest (baseline verify)
:done