Commit Graph

23 Commits

Author SHA1 Message Date
Ryan Tsao 94e1023093
Fix parsing of negative numbers (#12)
* Add failing test for negative numbers

* Fix parsing of negative numbers

* Rearrange assertion to avoid extra diff noise
2021-03-04 15:25:23 -08:00
Max Brunsfeld 53d1095d4a Allow top-level declarations 2018-10-30 15:54:37 -07:00
Max Brunsfeld b0d6e676cb Add only operator query operator 2018-10-29 15:46:58 -07:00
Max Brunsfeld 5318a21441 Fix over-eager parsing of plain values 2018-10-29 15:45:05 -07:00
Max Brunsfeld 3c2035e98e Add parenthesized expressions 2018-10-29 15:35:49 -07:00
Max Brunsfeld e2a44c9650 Fix conflict between plain values and numbers 2018-10-29 15:35:40 -07:00
Max Brunsfeld 7add08036c Don't require a ; on the last declaration in a block 2018-10-28 14:19:40 -07:00
Max Brunsfeld 034eda815e Add selectors as arguments to :not 2018-10-26 14:23:46 -07:00
Max Brunsfeld c8a95409ae Add sibling selectors 2018-10-26 14:13:39 -07:00
Max Brunsfeld 751c870b80 Add @supports statements 2018-10-26 14:07:29 -07:00
Max Brunsfeld 6caaefd51e Add keyframes statements 2018-10-26 11:56:10 -07:00
Max Brunsfeld eb66c5abb4 Allow function arguments to consist of multiple values 2018-10-26 11:50:26 -07:00
Max Brunsfeld 2659e00a88 Add namespace statements 2018-10-26 11:47:01 -07:00
Max Brunsfeld d9f5080cca Add important 2018-10-26 11:42:36 -07:00
Max Brunsfeld b2c8e4a547 Allow more characters in unquoted property values 2018-10-26 11:41:14 -07:00
Max Brunsfeld b1cdf729d4 Allow uppercase E in float literals 2018-10-26 09:46:25 -07:00
Max Brunsfeld 8ba3d11be0 Add binary expressions 2018-10-26 09:44:27 -07:00
Max Brunsfeld 3e106ca94e Allow percentage as a unit 2018-10-26 09:37:10 -07:00
Max Brunsfeld eab22469f9 Allow numbers in tag & attribute names 2018-10-26 09:34:07 -07:00
Max Brunsfeld a34b06cb86 Allow empty strings 2018-10-22 20:20:36 -07:00
Max Brunsfeld a39aceaa44 Add at-rules 2018-10-18 09:59:09 -07:00
Max Brunsfeld c3ffccdac1 Add more selectors and property values 2018-10-17 23:14:21 -07:00
Max Brunsfeld ad139e0a3a Initial commit 2018-09-30 15:59:56 -07:00