Commit Graph

86 Commits

Author SHA1 Message Date
Natalie Weizenbaum
a212999554 Properly parse URLs containing "//" and "/*". (#84) 2016-12-29 15:24:45 -08:00
Natalie Weizenbaum
e5fb64e89f Preserve escapes in non-script identifiers. (#74) 2016-12-18 22:42:11 -08:00
Natalie Weizenbaum
65acb8b184 Allow #{...}--1. (#62) 2016-12-09 17:22:53 -08:00
Natalie Weizenbaum
9ce2d30e2a Fix handling of **/. (#60)
We had been failing to close comments because we'd consume the second
asterisk and fail to register that it might be the one to end the
comment.

See sass/sass-spec#986
Closes #58
2016-12-09 14:02:26 -08:00
Natalie Weizenbaum
dd2fa6f574 Treat ".css" imports as plain imports. (#48) 2016-11-18 15:43:21 -08:00
Natalie Weizenbaum
bcd66991f7 Fix parsing of :nth-*-child() selectors. 2016-11-14 11:12:34 -08:00
Natalie Weizenbaum
b7a026096b Fix bracketed-list parsing. (#44)
See sass/sass-spec#973
2016-11-13 20:58:24 -08:00
Natalie Weizenbaum
8df94cc4ca Add support for Unicode ranges. (#42)
See sass/sass-spec#971
2016-11-13 13:26:52 -08:00
Natalie Weizenbaum
a7f5f4e4e8 Support the Microsoft-style = operator. (#40)
Closes #31
2016-11-12 21:21:18 -08:00
Natalie Weizenbaum
5f78a8b40a Fix an expression-parsing bug. (#38)
A binary operator followed by a unary operator (for example, `1 + - 2`)
would crash the parser.
2016-11-11 17:47:00 -08:00
Natalie Weizenbaum
bab6ebb59a Track and use colors' original representations. 2016-11-02 17:37:10 -07:00
Natalie Weizenbaum
12397aa8c7 Fix nested declarations in SCSS. 2016-10-30 15:06:32 -07:00
Natalie Weizenbaum
845c1b8d8d Add missing scanner.expectDone() calls. 2016-10-30 14:54:09 -07:00
Natalie Weizenbaum
c9bbcbda3a Fix initial media query parsing. 2016-10-30 14:53:58 -07:00
Natalie Weizenbaum
e28b399c0b Fix an indented syntax parsing bug. 2016-10-30 13:06:23 -07:00
Natalie Weizenbaum
bc5852f64d Support multiple @import arguments. 2016-10-29 10:58:56 -07:00
Natalie Weizenbaum
9edb2bb447 Fix a selector parsing bug. 2016-10-29 10:55:10 -07:00
Natalie Weizenbaum
868286911b Reparse media queries at perform-time. 2016-10-28 16:55:56 -07:00
Natalie Weizenbaum
6f6eb79dae Fix "2n of .foo" parsing. 2016-10-28 15:36:30 -07:00
Natalie Weizenbaum
d0771e7fab Parse progid expressions like Ruby Sass. 2016-10-28 14:20:19 -07:00
Natalie Weizenbaum
324e2c6375 Fix comma-separated keyframe selectors. 2016-10-28 13:59:58 -07:00
Natalie Weizenbaum
be8b26191d Support import clauses. 2016-10-23 17:01:21 -07:00
Natalie Weizenbaum
e615c5d15f Require semicolons between childless statements. 2016-10-22 01:00:04 -07:00
Natalie Weizenbaum
a3142d526e Support reference combinators. 2016-10-21 21:21:30 -07:00
Natalie Weizenbaum
18cc8d3f66 Support keyframes. 2016-10-20 23:07:35 -07:00
Natalie Weizenbaum
271f899d3b Support slash numbers in lists. 2016-10-20 17:50:02 -07:00
Natalie Weizenbaum
40ca7ee0f9 Fix MixinRule.hasContent. 2016-10-20 15:24:04 -07:00
Natalie Weizenbaum
7b4d26cc5a Properly parse indented-syntax empty selectors.
Also warn about them.
2016-10-20 14:35:45 -07:00
Natalie Weizenbaum
0d56c6fce2 Work around an analyzer error. 2016-10-19 23:09:51 -07:00
Natalie Weizenbaum
3e2f202dee Properly parse 1px-2px. 2016-10-19 22:54:47 -07:00
Natalie Weizenbaum
e61862a715 Support !important. 2016-10-19 21:46:53 -07:00
Natalie Weizenbaum
9b05b1c24e Allow @at-root with selectors. 2016-10-19 21:17:57 -07:00
Natalie Weizenbaum
3941e4debd Allow declarations in @at-root. 2016-10-19 20:44:53 -07:00
Natalie Weizenbaum
7a29fa5c55 Parse namespaced universal selectors. 2016-10-18 23:13:32 -07:00
Natalie Weizenbaum
021299b9f2 Allow plain imports in control directives. 2016-10-18 23:11:02 -07:00
Natalie Weizenbaum
f476747e43 Fix valueless attribute selectors. 2016-10-18 23:06:35 -07:00
Natalie Weizenbaum
a2497adda2 Fix parenthesis detection. 2016-10-18 23:03:09 -07:00
Natalie Weizenbaum
bd042460f7 Fix trailing selector commas. 2016-10-18 22:20:50 -07:00
Natalie Weizenbaum
f71ff95cb4 Fix !global parsing. 2016-10-18 22:00:44 -07:00
Natalie Weizenbaum
4befdfff42 Consume whitespace after SCSS comments. 2016-10-18 18:17:27 -07:00
Natalie Weizenbaum
84e4cb25b8 Properly parse or. 2016-10-18 17:57:25 -07:00
Natalie Weizenbaum
75229d525d Properly parse -#{}. 2016-10-18 17:51:17 -07:00
Natalie Weizenbaum
965e553fa9 Fix if() parsing. 2016-10-18 17:48:48 -07:00
Natalie Weizenbaum
794bdee476 Allow functions named after constants. 2016-10-18 16:36:10 -07:00
Natalie Weizenbaum
c8f0126f0b Support explicit @charset. 2016-10-18 16:22:42 -07:00
Natalie Weizenbaum
0f6f44f939 Fix parsing of binary -. 2016-10-18 15:52:54 -07:00
Natalie Weizenbaum
e7024437d8 Use Ruby Sass string semantics. 2016-10-18 15:17:46 -07:00
Natalie Weizenbaum
8969fc75f2 Store numbers' original values. 2016-10-17 16:50:43 -07:00
Natalie Weizenbaum
441ca87f37 Way more API docs. 2016-10-15 02:57:29 -07:00
Natalie Weizenbaum
d5f9ce4ed0 A few API docs. 2016-10-12 12:27:28 -07:00