started frameset regression test suite
git-svn-id: svn://10.0.0.236/trunk@28963 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
75c7503684
commit
f861258283
35
mozilla/layout/html/tests/frameset/bugs/bug5437.html
Normal file
35
mozilla/layout/html/tests/frameset/bugs/bug5437.html
Normal file
@ -0,0 +1,35 @@
|
||||
<html><head></head><body>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function show() {
|
||||
document.getElementById("div1").setAttribute("value","visible");
|
||||
}
|
||||
|
||||
function hide() {
|
||||
document.getElementById("div1").setAttribute("value","hidden");
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
div[id="div1"][value="hidden"] {
|
||||
background-color: blue;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
div[id="div1"][value="visible"] {
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="div1" value="hidden">
|
||||
this is text
|
||||
<button> foo </button>
|
||||
<iframe src="http://www.yahoo.com">
|
||||
</div>
|
||||
<button onclick="show(this)">show</button>
|
||||
<button onclick="hide(this)">hide</button>
|
||||
</body>
|
||||
</html>
|
||||
1
mozilla/layout/html/tests/frameset/bugs/file_list.txt
Normal file
1
mozilla/layout/html/tests/frameset/bugs/file_list.txt
Normal file
@ -0,0 +1 @@
|
||||
file://s:/mozilla/layout/html/tests/frameset/bugs/bug5437.html
|
||||
16
mozilla/layout/html/tests/frameset/bugs/rtest.bat
Executable file
16
mozilla/layout/html/tests/frameset/bugs/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 -o s:\mozilla\layout\html\tests\frameset\bugs\verify\ -rd s:\mozilla\layout\html\tests\table\bugs -f s:\mozilla\layout\html\tests\table\bugs\file_list.txt
|
||||
goto done
|
||||
|
||||
:baseline
|
||||
s:\mozilla\dist\win32_d.obj\bin\viewer -o s:\mozilla\layout\html\tests\frameset\bugs\ -f s:\mozilla\layout\html\tests\table\bugs\file_list.txt
|
||||
goto done
|
||||
|
||||
:error
|
||||
echo syntax: rtest (baseline verify)
|
||||
|
||||
:done
|
||||
7
mozilla/layout/html/tests/frameset/rtest.bat
Executable file
7
mozilla/layout/html/tests/frameset/rtest.bat
Executable file
@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
cd ..\bugs
|
||||
call rtest.bat %1
|
||||
|
||||
cd ..
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user