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;
14 <link rel="stylesheet" href="resources/space-before-charset.css" />
17 <div id="probe" class="green">
18 I should have a green background.
20 <div id="results"></div>