Closed colinmeinke closed 5 years ago
Input:
:root { --foo: red; } .bar { color: var( --foo ); }
Expected output:
.bar { color: red; }
Actual output:
.bar { color: var( --foo ); }
Thanks for the report, just tested in Firefox which allows this. I can't exactly find it in the spec but I am sure it is laid out somewhere down the rabbit hole: https://drafts.csswg.org/css-variables/#syntax
Input:
Expected output:
Actual output: