5 if (window.layoutTestController)
6 layoutTestController.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;
15 /* This is a comment before the charset! */
18 background-color: green;
23 <div id="probe" class="green">
24 I should have a green background.
26 <div id="results"></div>