5 <script src=
"../../resources/js-test.js"></script>
6 <style type=
"text/css">
7 #e { color:red
; visibility: hidden
;}
11 <p id=
"e">This is the test element.
</p>
14 description("This test checks to see whether setting a CSS value including !important on an inline style property fails (as it should).");
16 var e
= document
.getElementById('e');
17 e
.style
.color
= "green !important";
19 shouldBe('window.getComputedStyle(e).color', '"rgb(255, 0, 0)"');