4 testRunner
.dumpAsText();
23 <div id=
"result"></div>
24 <input id=
"input" type=
"hidden"></input>
27 var input
= document
.getElementById("input");
28 var result
= document
.getElementById("result");
29 if (document
.defaultView
.getComputedStyle(input
, null).color
== "rgb(255, 0, 0)")
31 result
.innerHTML
= "PASSED!";
32 else if (document
.defaultView
.getComputedStyle(input
, null).color
== "rgb(0, 255, 0)")
34 result
.innerHTML
= "PASSED!";
36 result
.innerHTML
= "FAILED! Hidden input types should respond to :enabled and :disabled.";