1 # function-calc-no-unspaced-operator
3 Disallow an unspaced operator within `calc` functions.
6 a { top: calc(1px + 2px); }
8 * The space around this operator */
11 Before the operator, there must be a single whitespace or a newline plus indentation. After the operator, there must be a single whitespace or a newline.
17 The following patterns are considered violations:
20 a { top: calc(1px+2px); }
24 a { top: calc(1px+ 2px); }
27 The following patterns are *not* considered violations:
30 a { top: calc(1px + 2px); }
34 a { top: calc(calc(1em * 2) / 3); }
39 top: calc(var(--foo) +