Skip to content

Commit 549b370

Browse files
committed
need at-rules and rule-list
1 parent 132d1c2 commit 549b370

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

grammars/css.cson

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,9 +1698,9 @@
16981698
{
16991699
'include': '#font-features'
17001700
}
1701-
{
1702-
'include': '#selector'
1703-
}
1701+
{'include':'selector'}
1702+
{'include':'at-rules'}
1703+
{'include':'rule-list'}
17041704
{
17051705
# Custom properties
17061706
'match': '''(?x) (?<![\\w-])

testingUtil/source.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1+
/* add test code here */
2+
13
body {
24
font-family: Arial, sans-serif;
35
margin: 0;
46
padding: 0;
57
background-color: #f0f0f0;
68

7-
@media (min-width:400px) {
8-
font-family: Arial, sans-serif;
9-
margin: 0;
10-
padding: 0;
11-
background-color: #f0f0f0;
9+
@media (min-width:400px) {}
10+
11+
a {
12+
color: red;
13+
14+
b {
15+
color: blue
16+
}
1217
}
13-
}
18+
19+
}
20+
21+
22+
@media (min-width:400px) {}

0 commit comments

Comments
 (0)