<div id="a" style="background-color: red !important">The background of this element should be green. It is </div>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    var a = document.getElementById("a");
    a.style.backgroundColor = "green";
    a.innerHTML += a.style.backgroundColor;
</script>
