1312 Commits

Author SHA1 Message Date
ConnorSkees
00bd9f3847 simplify parsing of hex numbers
as suggested by @pickfire
2020-06-17 06:09:39 -04:00
ConnorSkees
c957c10678 simplify NeverEmptyVec::last, as suggested by @pickfire 2020-06-17 05:51:15 -04:00
ConnorSkees
9ccf49010c resolve clippy lints 2020-06-17 05:48:01 -04:00
ConnorSkees
191f2dfba4 refactor @ import
based on code review by @pickfire here,
https://github.com/connorskees/grass/pull/13
2020-06-17 05:43:43 -04:00
ConnorSkees
74971a7d62 Merge commit 'c9ba131' 2020-06-17 05:34:20 -04:00
ConnorSkees
c9ba1317e0 workaround @ at-root and interpolated super selectors 2020-06-17 05:29:21 -04:00
ConnorSkees
82ffd0ddde arglists are lists too 2020-06-17 05:24:42 -04:00
ConnorSkees
1f82d65eac & is null when at root 2020-06-17 02:35:35 -04:00
ConnorSkees
fdca0ca4f2 improve span information for at-rules 2020-06-17 02:28:35 -04:00
ConnorSkees
accf8bb398 newline at end of test file 2020-06-17 02:02:05 -04:00
ConnorSkees
4d068596e3 refactor parsing into multiple files 2020-06-16 22:34:01 -04:00
ConnorSkees
c5f5c4d464 create placeholder methods for keyframes, support, and extend 2020-06-16 22:04:06 -04:00
ConnorSkees
5eeee2f01f resolve issue with @ at-root 2020-06-16 22:00:45 -04:00
ConnorSkees
2cd81ccb0f bump version to 0.9.0 2020-06-16 20:50:41 -04:00
Connor Skees
2ad1b70f61
Refactor parsing into struct, rather than standalone functions
reimplement parsing
2020-06-16 20:37:10 -04:00
ConnorSkees
549d96ac0d update newly passing tests in readme 2020-06-16 20:33:09 -04:00
ConnorSkees
50e6550380 add new, now passing tests 2020-06-16 20:32:32 -04:00
ConnorSkees
053dac2ecb remove stylesheet module 2020-06-16 20:03:12 -04:00
ConnorSkees
c1b5ff5730 prettify imports 2020-06-16 20:00:11 -04:00
ConnorSkees
71dd7df951 reimplement parsing 2020-06-16 19:38:30 -04:00
ConnorSkees
8452fd5786 better document todo: 2020-06-14 13:53:46 -04:00
ConnorSkees
e86524c960 add test for ::{} (panic under old parser) 2020-06-12 21:51:17 -04:00
ConnorSkees
41df8bafa4 update passing tests 2020-06-08 00:42:41 -04:00
ConnorSkees
632d649fdb if conditions are evaluated lazily 2020-06-08 00:01:14 -04:00
Connor Skees
365325729a
Merge pull request #12 from connorskees/selector-fns
Implement builtin selector functions
2020-06-07 23:29:06 -04:00
ConnorSkees
b135b87a69 resolve clippy lints 2020-06-07 23:11:43 -04:00
ConnorSkees
a48d2b97ce more psuedo tests for is-superselector 2020-06-07 22:08:23 -04:00
ConnorSkees
5dceb27950 test special case :current in is-superselector 2020-06-07 21:34:34 -04:00
ConnorSkees
b609e7a6ab return true for is_superselector of subselector pseudos 2020-06-07 18:20:51 -04:00
ConnorSkees
457eccc59b reimplement @ at-root 2020-06-07 17:49:39 -04:00
ConnorSkees
113e011652 implement simple-selectors 2020-06-07 17:40:24 -04:00
ConnorSkees
e76903cb47 initial implementation of selector-replace 2020-06-07 17:12:01 -04:00
ConnorSkees
e0ab71f73e simple pseudo selector-extend tests 2020-06-07 13:27:54 -04:00
ConnorSkees
d71e996e2b initial implementation of selector-extend 2020-06-07 11:46:34 -04:00
ConnorSkees
6decd85d0d handle invalid escape sequences in variable names 2020-06-04 15:14:00 -04:00
ConnorSkees
3552fbcb99 allow negative values in single arg hsl/hsla 2020-06-03 21:23:33 -04:00
ConnorSkees
29f7b286b0 handle negative values in 1arg rgba? 2020-06-02 17:06:31 -04:00
ConnorSkees
8846a09d1c @ else is case sensitive 2020-06-01 21:44:10 -04:00
ConnorSkees
5689ae0131 resolve malformed tests 2020-06-01 21:36:08 -04:00
ConnorSkees
6a13c6f320 at-rules are case sensitive 2020-06-01 21:35:23 -04:00
ConnorSkees
8390fd8354 resolve clippy lints 2020-05-31 18:21:20 -04:00
ConnorSkees
b4ef2a6fb4 add tests for an+b 2020-05-31 15:16:38 -04:00
ConnorSkees
ccc0c84eee remove all unwraps and todo! from selector parsing 2020-05-31 15:16:25 -04:00
ConnorSkees
d5844e3536 more tests for is-superselector 2020-05-31 08:01:32 -04:00
ConnorSkees
ab61f9fb32 Merge branch 'master' into selector-fns 2020-05-31 05:38:24 -04:00
ConnorSkees
1de8067e24 temporarily disable sass-spec in CI
this eventually is something that should run, but for right now I would
like CI to be green and to not receive an email on each push.
2020-05-31 05:35:38 -04:00
ConnorSkees
b64ad5b1f3 resolve all clippy lints 2020-05-31 05:32:19 -04:00
ConnorSkees
72f62ce711 avoid creating new rational when multiplying num by small integer 2020-05-31 05:16:36 -04:00
ConnorSkees
ccf33d2cfb Merge branch 'master' of https://github.com/connorskees/grass 2020-05-31 04:53:50 -04:00
ConnorSkees
25301f8dd1 Merge branch 'master' of https://github.com/connorskees/grass 2020-05-31 04:52:14 -04:00