We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7655bc0 commit faa23adCopy full SHA for faa23ad
lib/lexer.js
@@ -37,7 +37,7 @@ var pseudos = [
37
*/
38
39
pseudos = pseudos.join('|');
40
-var propre = new RegExp('^ *([^:\n]+):(?!' + pseudos + ') *([^\n]*)');
+var propre = new RegExp('^ *([-\\w]+):(?!' + pseudos + ') *([^\n]*)');
41
42
/**
43
* Scan the given `str` returning tokens.
test/cases/media.complex.out.css
@@ -0,0 +1,6 @@
1
+@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
2
+ body {
3
+ width: 480px;
4
+ height: 500px;
5
+ }
6
+}
0 commit comments