adding style sheet switch testcase to table regression testcases not part of the build

This commit is contained in:
bernd.mielke%snafu.de 2002-03-10 17:00:27 +00:00
parent 25274d642f
commit 806db0e468
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!doctype html public '-//W3C//DTD HTML 4.01//EN'
'http://www.w3.org/TR/html4/strict.dtd'>
<html>
<head>
<title>style sheet reload</title>
<meta name="GENERATOR" content="Arachnophilia 4.0">
<meta name="FORMATTER" content="Arachnophilia 4.0">
<link rel="stylesheet" title="Default" href="bug92868_1_test1.css">
<link rel="alternate stylesheet" title="test2" href="bug92868_1_test2.css">
<script>
function change_sheet() {
document.styleSheets[0].disabled = true;
document.styleSheets[1].disabled = false;
}
</script>
</head>
<body onload="change_sheet()">
the text should be courier 24pt
<table><tr><td>inside a cell</td></tr></table>
<div>inside a div</div>
</body>
</html>

View File

@ -0,0 +1,2 @@
body {font-family:roman;
font-size: 8pt;}

View File

@ -0,0 +1,3 @@
body { font-family:courier;
font-size: 24pt;
}

View File

@ -70,6 +70,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug92143.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug92647-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug92647-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug92868.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug92868_1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug93363.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug963.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug9271-1.html