718 Commits

Author SHA1 Message Date
Connor Skees
3e8b038705 add ignored test for interpolation of builtin fns 2020-08-17 02:50:19 -04:00
Connor Skees
a7b6675c18 unignore variable casing grayscale test 2020-08-17 02:43:52 -04:00
Connor Skees
befcb15cb5 !default variables can override if the value is null 2020-08-17 02:42:43 -04:00
Connor Skees
a7eb78d249 fix bug in generating complement for colors with hue under 180deg 2020-08-17 02:21:21 -04:00
Connor Skees
790b0685cb set-nth correctly recognizes arglists 2020-08-17 02:03:13 -04:00
Connor Skees
c35fa2b8eb deny non-numeric argument passed to unitless 2020-08-16 20:14:54 -04:00
Connor Skees
253bc3b35f deny comma separated lists without parens as keys to map 2020-08-16 20:00:14 -04:00
Connor Skees
28a0a33d85 respect $module argument passed to function-exists 2020-08-16 19:47:18 -04:00
Connor Skees
f60fb26ca0 do not panic when extending by compound selector with parent 2020-08-16 19:09:08 -04:00
Connor Skees
a9be640124 arguments do not affect variables in outer scopes 2020-08-15 21:33:44 -04:00
Connor Skees
34dd92f78f hyphen followed by interpolation is not treated as subtraction 2020-08-15 20:18:37 -04:00
Connor Skees
679bb94b53 add tests for unitful NaN passed to builtin functions 2020-08-15 20:07:27 -04:00
Connor Skees
fdf8e6136c add more tests for unicode range edge cases 2020-08-13 17:20:29 -04:00
Connor Skees
63bb17fe09 explicitly test for urls beginning with single forward slash inside url 2020-08-13 17:08:53 -04:00
Connor Skees
2d798a6386 better support for NaN passed to builtin functions 2020-08-12 16:11:21 -04:00
Connor Skees
a665cb13cc remove cfg(test) from test files 2020-08-11 20:22:24 -04:00
Connor Skees
9e2397ce8d refactor !important tests into separate file 2020-08-11 14:58:41 -04:00
Connor Skees
45508a7665 add support for unicode ranges 2020-08-11 14:46:06 -04:00
Connor Skees
5133d580de improve error message for selector-parse and deny open curly brace 2020-08-11 02:00:10 -04:00
Connor Skees
a9bef0e24e more robustly parse default function arguments 2020-08-08 01:57:56 -04:00
Connor Skees
a3a21928c0 resolve map parsing regression involving trailing commas in doubly nested maps 2020-08-07 20:10:49 -04:00
Connor Skees
56030f1292 recognize plain css @imports beginning with // 2020-08-07 17:44:51 -04:00
Connor Skees
fac8b86a6a resolve integer underflow in @for when both to and from and i32::MIN 2020-08-07 16:51:17 -04:00
Connor Skees
f33739aa0f add more tests for malformed @for
test for capitalization of keywords, error messages, and regression
tests for integer overflows resulting when `from` or `to` ==
`std::i32::MAX`
2020-08-07 16:21:15 -04:00
Connor Skees
38a37a3997 more robustly parse !optional in selectors 2020-08-07 13:40:22 -04:00
Connor Skees
1f14bc92e3 refactor parsing of parens using predicate 2020-08-07 13:01:58 -04:00
Connor Skees
be032b66f0 refactor parsing of media queries to use predicate parsing 2020-08-07 12:04:43 -04:00
Connor Skees
d5b2410a8c allow multiline comments in more contexts 2020-08-07 11:39:14 -04:00
Connor Skees
7a4a191d59 allow variable declarations before and between @use 2020-08-07 02:10:51 -04:00
Connor Skees
438abe52be allow redeclaration of module variables 2020-08-07 02:01:04 -04:00
Connor Skees
074d679cbd support the @use ... with (...) syntax 2020-08-06 21:05:40 -04:00
Connor Skees
94becb4dcb implement idempotency with regard to module aliasing 2020-08-06 04:01:46 -04:00
Connor Skees
d029fd2001 implement module mixins and meta.load-css 2020-08-06 03:46:58 -04:00
Connor Skees
d043167015 Merge branch 'master' of https://github.com/connorskees/grass into modules 2020-08-06 01:23:09 -04:00
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
835aa34dee Merge branch 'master' of https://github.com/connorskees/grass into modules 2020-08-02 15:58:16 -04:00
Connor Skees
74dad6af0c allow whitespace after multiline comment in named args 2020-08-02 15:57:58 -04:00
Connor Skees
5efe99a404 resolve merge conflicts with master 2020-08-02 15:11:59 -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
698339b8c7 initial implementation of private module members 2020-08-02 04:20:08 -04:00
Connor Skees
a9e4d5cba5 implement builtin function math.atan2 2020-08-02 00:43:26 -04:00