mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
adding style sheet switch testcase to table regression testcases not part of the build
This commit is contained in:
parent
25274d642f
commit
806db0e468
27
layout/html/tests/table/bugs/bug92868_1.html
Normal file
27
layout/html/tests/table/bugs/bug92868_1.html
Normal 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>
|
2
layout/html/tests/table/bugs/bug92868_1_test1.css
Normal file
2
layout/html/tests/table/bugs/bug92868_1_test1.css
Normal file
@ -0,0 +1,2 @@
|
||||
body {font-family:roman;
|
||||
font-size: 8pt;}
|
3
layout/html/tests/table/bugs/bug92868_1_test2.css
Normal file
3
layout/html/tests/table/bugs/bug92868_1_test2.css
Normal file
@ -0,0 +1,3 @@
|
||||
body { font-family:courier;
|
||||
font-size: 24pt;
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user