| Index: LayoutTests/fast/css/style-and-stylesheet-important.html
|
| diff --git a/LayoutTests/fast/css/style-and-stylesheet-important.html b/LayoutTests/fast/css/style-and-stylesheet-important.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57396e3e60aee14010cf1827519ad3a44752f5a5
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/style-and-stylesheet-important.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<style>
|
| + #p { color: red !important; }
|
| +</style>
|
| +<p id="p" style="color: green !important;">This text should be green.</p>
|
| +<script>
|
| +description("Style attribute !important wins over stylesheet !important");
|
| +
|
| +shouldBeEqualToString("getComputedStyle(p).color", "rgb(0, 128, 0)");
|
| +</script>
|
|
|