mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Add reftests for document.linkColor
This commit is contained in:
parent
da0d941afb
commit
91e60cf986
12
layout/reftests/bugs/99850-1-ref.html
Normal file
12
layout/reftests/bugs/99850-1-ref.html
Normal 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>
|
21
layout/reftests/bugs/99850-1a.html
Normal file
21
layout/reftests/bugs/99850-1a.html
Normal 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>
|
27
layout/reftests/bugs/99850-1b.html
Normal file
27
layout/reftests/bugs/99850-1b.html
Normal 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>
|
12
layout/reftests/bugs/99850-1c.html
Normal file
12
layout/reftests/bugs/99850-1c.html
Normal 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>
|
20
layout/reftests/bugs/99850-1d.html
Normal file
20
layout/reftests/bugs/99850-1d.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user