1 # value-list-comma-space-before
3 Require a single space or disallow whitespace before the commas of value lists.
6 a { background-size: 0 ,0; }
8 * The space before these commas */
13 `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
17 There *must always* be a single space before the commas.
19 The following patterns are considered violations:
22 a { background-size: 0,0; }
26 a { background-size: 0
30 The following patterns are *not* considered violations:
33 a { background-size: 0 ,0; }
37 a { background-size: 0 ,
43 There *must never* be whitespace before the commas.
45 The following patterns are considered violations:
48 a { background-size: 0 ,0; }
52 a { background-size: 0 ,
56 The following patterns are *not* considered violations:
59 a { background-size: 0,0; }
63 a { background-size: 0,
67 ### `"always-single-line"`
69 There *must always* be a single space before the commas in single-line value lists.
71 The following patterns are considered violations:
74 a { background-size: 0,0; }
77 The following patterns are *not* considered violations:
80 a { background-size: 0 ,0; }
84 a { background-size: 0 ,
89 a { background-size: 0
93 ### `"never-single-line"`
95 There *must never* be whitespace before the commas in single-line value lists.
97 The following patterns are considered violations:
100 a { background-size: 0 ,0; }
103 The following patterns are *not* considered violations:
106 a { background-size: 0,0; }
110 a { background-size: 0,
115 a { background-size: 0 ,