Add reftests for document.linkColor

This commit is contained in:
jruderman@hmc.edu 2007-12-17 22:12:34 -08:00
parent da0d941afb
commit 91e60cf986
6 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<a href="http://mozilla.org/do_not_visit" style="color: #009933;">unvisited link</a>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function change_colors()
{
document.linkColor = "#FF0000";
document.linkColor = "#009933";
}
</script>
</head>
<body onload="change_colors()">
<a href="http://mozilla.org/do_not_visit">unvisited link</a>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function change_colors()
{
document.linkColor = "#FF0000";
setTimeout(change_colors_2, 30);
}
function change_colors_2()
{
document.linkColor = "#009933";
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="change_colors()">
<a href="http://mozilla.org/do_not_visit">unvisited link</a>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!DOCTYPE HTML>
<html>
<head>
</head>
<body link="#009933">
<a href="http://mozilla.org/do_not_visit">unvisited link</a>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function change_colors()
{
document.linkColor = "#009933";
}
</script>
</head>
<body onload="change_colors()" link="#FF0000">
<a href="http://mozilla.org/do_not_visit">unvisited link</a>
</body>
</html>

View File

@ -60,6 +60,10 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 28811-2a.html 28811-2-ref.html # bug 38
== 97777-2.html 97777-2-ref.html
== 98223-1.html 98223-1-ref.html
== 98223-2.html 98223-2-ref.html
== 99850-1a.html 99850-1-ref.html
== 99850-1b.html 99850-1-ref.html
== 99850-1c.html 99850-1-ref.html
== 99850-1d.html 99850-1-ref.html
== 105030-1.html 105030-1-ref.html
== 120834-1a.html 120834-1-ref.html
== 120834-2a.html 120834-2-ref.html