4 <style type=
"text/css">
6 progress:indeterminate
+ #test
{ color: green
; }
9 window
.onload = function() {
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
13 var testDiv
= document
.getElementById("test");
14 if (getComputedStyle(testDiv
, null).getPropertyValue("color") == "rgb(0, 128, 0)")
15 document
.getElementById("testresult").innerHTML
= "Pass";
17 document
.getElementById("testresult").innerHTML
= "Fail";
22 <p>The test passes if the Filler Text below is green.
</p>
24 <div id=
"test">Filler Text
</div>
25 <div id=
"testresult" style=
"color: blue">Running
</div>