6 testRunner
.dumpAsText();
8 window
.onload = function() {
9 var elmt
= document
.getElementById("probe");
10 var color
= window
.getComputedStyle(elmt
, null).getPropertyValue("background-color");
11 document
.getElementById("results").innerHTML
= color
;
17 background-color: green;
22 <div id=
"probe" class=
"green">
23 I should have a green background.
25 <div id=
"results"></div>