blob: b041bbd59f7b877125c6f9c8a12e58900e58fa2a [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
var elmt = document.getElementById("probe");
var color = window.getComputedStyle(elmt, null).getPropertyValue("background-color");
document.getElementById("results").innerHTML= color;
}
</script>
<link rel="stylesheet" href="resources/space-before-charset.css" />
</head>
<body>
<div id="probe" class="green">
I should have a green background.
</div>
<div id="results"></div>
</html>