Index: lib/src/prism/tests/languages/css/important_feature.test |
diff --git a/lib/src/prism/tests/languages/css/important_feature.test b/lib/src/prism/tests/languages/css/important_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ad69c39a4335fece3ef151183e2079447458263f |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/css/important_feature.test |
@@ -0,0 +1,21 @@ |
+color: red !important; |
+padding: 10px 20px 30px !important; |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["property", "color"], |
+ ["punctuation", ":"], |
+ " red ", |
+ ["important", "!important"], |
+ ["punctuation", ";"], |
+ ["property", "padding"], |
+ ["punctuation", ":"], |
+ " 10px 20px 30px ", |
+ ["important", "!important"], |
+ ["punctuation", ";"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for !important rule. |