17 Commits

Author SHA1 Message Date
Connor Skees
c0c8de6eb9 simplify media query == comparison check 2020-08-23 20:09:53 -04:00
Connor Skees
605f4f3d6b allow = and == in media queries 2020-08-22 19:18:28 -04:00
Connor Skees
fb785cf71c revert "make predicate optional for callers"
This reverts commit fda7f340cea60a90031aa8edffd8ab3a06d05992.

This commit made tests fail that it shouldn't have. The performance wins
from this change were negligible, so it is easiest to just revert it and
potentially come back to this change later
2020-08-08 14:36:59 -04:00
Connor Skees
fda7f340ce make predicate optional for callers 2020-08-08 02:27:54 -04:00
Connor Skees
36bdea138d refactor how the from value in @for is parsed 2020-08-07 17:33:30 -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
074d679cbd support the @use ... with (...) syntax 2020-08-06 21:05:40 -04:00
Connor Skees
0639a6ba2b correctly parse quoted media queries 2020-07-09 13:43:27 -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
4edc324fcd remove superfluous whitespace from media query involving and 2020-07-06 18:59:21 -04:00
Connor Skees
aa8f120824 resolve media query bug involving multiple identifiers 2020-07-06 15:37:03 -04:00
ConnorSkees
41bfea3cea update dependencies 2020-06-26 08:03:43 -04:00
ConnorSkees
e12d3a581d reduce size of parse::Stmt 2020-06-25 00:27:24 -04:00
ConnorSkees
9512e9f39f improve parsing of media queries 2020-06-24 11:39:32 -04:00