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:
62
mozilla/layout/html/tests/style/base/base.html
Normal file
62
mozilla/layout/html/tests/style/base/base.html
Normal 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>
|
||||
1
mozilla/layout/html/tests/style/base/file_list1.txt
Normal file
1
mozilla/layout/html/tests/style/base/file_list1.txt
Normal file
@@ -0,0 +1 @@
|
||||
file:///s:/mozilla/layout/html/tests/style/base.html
|
||||
16
mozilla/layout/html/tests/style/base/rtest.bat
Executable file
16
mozilla/layout/html/tests/style/base/rtest.bat
Executable 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
|
||||
Reference in New Issue
Block a user