Natalie Weizenbaum
d4e804f912
Improve custom property indentation.
2017-01-08 23:45:06 -08:00
Natalie Weizenbaum
3c7daa3499
Support interpolation in loud comments.
2017-01-08 22:47:05 -08:00
Natalie Weizenbaum
7136b98b09
Support content-exists().
2017-01-08 22:05:23 -08:00
Natalie Weizenbaum
330326c7f7
Fix @at-root query parsing.
2017-01-08 17:11:31 -08:00
Natalie Weizenbaum
51eb75567a
Report stack traces along with import errors.
2017-01-06 21:38:48 -08:00
Natalie Weizenbaum
d7caf7fbc1
Gracefully handle invalid UTF-8.
...
This will be even more graceful when dart-lang/sdk#28293 is fixed.
2017-01-06 21:31:29 -08:00
Natalie Weizenbaum
7ccccbc2ba
Fix unit coercion in @for.
2017-01-06 17:46:12 -08:00
Natalie Weizenbaum
63b39479e1
Fix *-exists(). ( #86 )
...
These were always using the global scope rather than the lexical scope.
They've been moved into the perform visitor so that they have access to
the lexical environment instead.
2017-01-06 14:43:34 -08:00
Natalie Weizenbaum
3b6f01be84
Make ExtendSource.extender a plain SelectorList.
...
The span attached to the CssValue wasn't being used.
2016-12-20 17:40:23 -08:00
Natalie Weizenbaum
9fdc8194fd
Fix newlines in interpolation. ( #73 )
2016-12-18 22:19:50 -08:00
Natalie Weizenbaum
b730e3f85c
Support CSS import reordering. ( #64 )
2016-12-10 15:04:09 -08:00
Natalie Weizenbaum
779edfad3b
Set mixin/function arguments locally. ( #63 )
2016-12-09 17:08:11 -08:00
Natalie Weizenbaum
b9df6f1334
Fix @debug output. ( #45 )
2016-11-13 23:48:29 -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
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
5fb090ef7e
Print colors by name if possible.
2016-11-02 17:37:10 -07:00
Natalie Weizenbaum
bab6ebb59a
Track and use colors' original representations.
2016-11-02 17:37:10 -07:00
Natalie Weizenbaum
d18ac3c6b4
Don't add extra newlines after loud comments.
2016-11-02 17:30:28 -07:00
Natalie Weizenbaum
12ec31566f
Clean up more newline generation.
2016-11-02 17:27:17 -07:00
Natalie Weizenbaum
d096be56f8
Don't write extra trailing newlines.
2016-11-02 17:18:39 -07:00
Natalie Weizenbaum
bc5852f64d
Support multiple @import arguments.
2016-10-29 10:58:56 -07:00
Natalie Weizenbaum
aec39904bc
Clean up the output a bit.
...
This should match Ruby Sass's group logic.
2016-10-28 17:18:11 -07:00
Natalie Weizenbaum
868286911b
Reparse media queries at perform-time.
2016-10-28 16:55:56 -07:00
Natalie Weizenbaum
9ec89f6944
Support get-function().
2016-10-28 15:28:05 -07:00
Natalie Weizenbaum
5c53579b4c
Properly handle selectors and @at-root.
2016-10-28 14:16:50 -07:00
Natalie Weizenbaum
be8b26191d
Support import clauses.
2016-10-23 17:01:21 -07:00
Natalie Weizenbaum
436ce2d1af
Fix a warning.
2016-10-22 01:00:47 -07:00
Natalie Weizenbaum
9c923fe98a
Support guarded variables.
2016-10-21 21:56:27 -07:00
Natalie Weizenbaum
bebe278d8e
Fix slash-separation.
2016-10-21 21:26:20 -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
5504a26a63
Quote non-identifier attribute selector values.
2016-10-20 15:43:07 -07:00
Natalie Weizenbaum
0747b0cb95
Don't null out the current selector in @at-root.
2016-10-20 15:20:43 -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
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
13156d5107
Disable implicit downcasts.
2016-10-19 17:56:48 -07:00
Natalie Weizenbaum
35b3baa1ef
Fix a 1.20 analysis issue.
2016-10-19 15:23:50 -07:00
Natalie Weizenbaum
56dcccbb8a
Fix PerformVisitor._isEmptyList.
2016-10-19 15:00:00 -07:00
Natalie Weizenbaum
1e1864770e
Properly assign a span for call().
2016-10-18 23:31:05 -07:00
Natalie Weizenbaum
c44481ba29
Fix blank lists in property values.
2016-10-18 21:53:08 -07:00
Natalie Weizenbaum
870a2a4f4a
Update number equality.
2016-10-18 21:39:29 -07:00
Natalie Weizenbaum
29574d345a
Fix media query serialization.
2016-10-18 20:44:29 -07:00
Natalie Weizenbaum
d38722e36d
Fix comment output.
2016-10-18 18:19:56 -07:00
Natalie Weizenbaum
99e0a1100f
Fix unquoted string serialization again.
2016-10-18 17:36:13 -07:00
Natalie Weizenbaum
0a6ebc6f8c
Serialize null to the empty string.
2016-10-18 17:24:12 -07:00
Natalie Weizenbaum
acb3b3712d
Properly inspect singleton lists.
2016-10-18 16:38:28 -07:00
Natalie Weizenbaum
11dad49c6d
Properly escape backspace characters.
2016-10-18 15:51:57 -07:00
Natalie Weizenbaum
04de51b5d1
Fix attribute selector authoring.
2016-10-18 15:25:42 -07:00