1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <link rel=
"stylesheet" href=
"resources/red.css" media=
"all" title=
"Default Style Sheet" type=
"text/css" />
5 <link rel=
"alternate stylesheet" href=
"resources/red.css" media=
"all" title=
"green" type=
"text/css" />
6 <link rel=
"alternate stylesheet" href=
"resources/green.css" media=
"all" title=
"green" type=
"text/css" />
7 <script type=
"text/javascript">
9 testRunner
.dumpAsText();
11 var red
= document
.getElementsByTagName("link")[0];
13 var green
= document
.getElementsByTagName("link")[2];
14 green
.disabled
= false;
17 var console
= document
.getElementById("console");
18 if (getComputedStyle(console
, null).backgroundColor
=== "rgb(0, 128, 0)")
19 console
.innerHTML
= "PASSED";
21 console
.innerHTML
= "FAILED, background = " + getComputedStyle(console
, null).backgroundColor
;
23 window
.addEventListener("load", test
, false);
27 <p>Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=65140">65140</a>: REGRESSION (r84327-r84329): CSS stylesheets fail to load on www.flagstar.com login page
</p>
28 <p>This test PASSED if PASSED is written below (alternatively the next line should have a GREEN background).
</p>
29 <div id=
"console">FAILED
</div>