608 Commits

Author SHA1 Message Date
Connor Skees
df1456f9b1 use new predicate parsing for bracketed lists 2020-08-05 03:03:58 -04:00
Connor Skees
b2e7270681 resolve panic when extending certain psuedo selectors containing combinators without rhs selector 2020-08-04 23:18:16 -04:00
Connor Skees
5c8e88d16b remove panic on malformed bracketed list 2020-08-04 02:36:33 -04:00
Connor Skees
9c2d1200f7 allow multiline comments in functions 2020-08-04 02:13:15 -04:00
Connor Skees
a79c62c2fa allow escaped ! in selectors 2020-08-04 02:05:59 -04:00
Connor Skees
55bcd1d1dd resolve panic from malformed filter argument 2020-08-04 01:35:49 -04:00
Connor Skees
622d44ac63 disallow selectors and styles in functions 2020-08-04 01:18:34 -04:00
Connor Skees
3e5f69118b disallow more at-rules in @function 2020-08-02 23:00:00 -04:00
Connor Skees
2df5e1b274 resolve panic on malformed args missing closing parenthesis 2020-08-02 22:24:37 -04:00
Connor Skees
74dad6af0c allow whitespace after multiline comment in named args 2020-08-02 15:57:58 -04:00
Connor Skees
db41737ec7 hue can never be exactly 360 2020-08-02 15:03:26 -04:00
Connor Skees
6189810ced allow vendor prefixed special css functions 2020-08-02 14:52:46 -04:00
Connor Skees
da3c3eabfc refactor how @content scoping is handled 2020-07-30 23:40:34 -04:00
Connor Skees
da9c0b78b2 variables declared in mixins can be accessed after @content 2020-07-30 22:26:24 -04:00
Connor Skees
f587a36367 fix regression involving min and max inside color functions 2020-07-29 08:27:53 -04:00
Connor Skees
6beb95ece0 fix @keyframes test failing from typo 2020-07-29 07:31:58 -04:00
Connor Skees
e0cecb4e5c allow @keyframes to have vendor prefixes and decimal selectors 2020-07-29 07:25:21 -04:00
Connor Skees
6631b8ae0e correctly parse the function filter syntax 2020-07-28 18:09:23 -04:00
Connor Skees
f69b863e33 better handle silent comments in maps and fn args 2020-07-27 22:30:36 -04:00
Connor Skees
3757c39c6f resolve panic from the input foo($--) 2020-07-25 14:45:11 -04:00
Connor Skees
bafafcf0b4 deduplicate @import test filenames 2020-07-24 20:24:47 -04:00
Connor Skees
67cbf9591a allow !optional in @extend 2020-07-24 20:23:54 -04:00
Connor Skees
5634681fa2 lazily evaluate default variable values 2020-07-24 20:13:14 -04:00
Connor Skees
01a11d7787 add unit test for lasso regression 2020-07-24 20:00:29 -04:00
Joe Ling - uni laptop
745fbc4e95 added tests for trailing commas and css imports 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
428599f091 fixed test tempfile naming 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
be4d02490c added comma separated imports 2020-07-24 15:40:34 -04:00
Connor Skees
f8453e4a0a disallow interpolation in the name of mixin declarations 2020-07-15 13:20:50 -04:00
Joe Ling - uni laptop
50d1987af2 Added grass::Options and implemented options.load_paths 2020-07-15 12:37:19 +01:00
Connor Skees
d56100a324 correctly parse styles after @supports and unknown at rules 2020-07-10 22:24:03 -04:00
Connor Skees
b4bdd2f926 deny mixins in functions, control flow, and mixins 2020-07-10 22:03:15 -04:00
Connor Skees
3c756f661d unconditionally exit mixin scope 2020-07-10 21:23:26 -04:00
Connor Skees
a379d870fc remove Hash impl for Value 2020-07-10 00:17:15 -04:00
Connor Skees
830d56bd77 only evaluate division in certain cases 2020-07-09 23:52:35 -04:00
Connor Skees
0639a6ba2b correctly parse quoted media queries 2020-07-09 13:43:27 -04:00
Connor Skees
1b8e0ebcd2 properly recognize arglist of null as null 2020-07-08 23:49:30 -04:00
Connor Skees
cee16fece7 loop indexing vars do not affect outer scopes 2020-07-08 23:17:20 -04:00
Connor Skees
02efd09d80 avoid cloning the entire scope 2020-07-08 17:52:37 -04:00
Connor Skees
47902c077c refactor how scopes are calculated 2020-07-08 14:51:04 -04:00
Connor Skees
3f3fd97872 test for crazy interpolation in @for from value 2020-07-08 09:52:07 -04:00
Connor Skees
978984ae15 refactor how to value in @for is parsed 2020-07-08 09:25:35 -04:00
Connor Skees
b42ae61435 test for crazy interpolation inside @if 2020-07-08 09:08:25 -04:00
Connor Skees
11e859705a remove value_from_vec where unnecessary 2020-07-07 18:06:28 -04:00
Connor Skees
e915e5cd31 test for hsla conversion to named color 2020-07-07 14:14:05 -04:00
Connor Skees
eb50381236 color equality only checks rgba value and normalizes channels 2020-07-07 12:30:33 -04:00
Connor Skees
6faf30795e add ignored scope tests for mixins and functions 2020-07-07 12:00:11 -04:00
Connor Skees
25862a5af8 do not strip whitespace before comma in psuedo selector 2020-07-07 11:37:20 -04:00
Connor Skees
df60ef094c allow media queries to contain a single identifier wrapped in parens 2020-07-07 11:23:09 -04:00
Connor Skees
b56a4a3fcc map equality considers both key and value 2020-07-07 10:55:37 -04:00
Connor Skees
57562b52d3 map equality is independent of order 2020-07-07 01:06:22 -04:00