Commit ac8355f
authored
Don't throw on trailing commas in SelectorList (#180)
Refs #157 (thnx @xqin)
Technically a traling comma in a SelectorList is a syntax error that the CSS
engine does not know how to handle
(reduced testcase: https://codepen.io/bartveneman/pen/NWWYJOE).
But this analyzer tries to give insight in your CSS complexity, not in the
validity of it. There are better tools for that. So for that, it'll look
the other way and continue analyzing.
Co-authored-by: @xqin1 parent db0105e commit ac8355f
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments