Natalie Weizenbaum
c50563e0b4
Handle placeholders in selector pseudos.
2017-01-14 21:30:37 -08:00
Natalie Weizenbaum
146d24e28e
Fix split media queries.
2017-01-14 20:09:34 -08:00
Natalie Weizenbaum
016fe59d1f
Forbid extending across media queries.
2017-01-13 01:53:04 -08:00
Natalie Weizenbaum
b730e3f85c
Support CSS import reordering. ( #64 )
2016-12-10 15:04:09 -08: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
be8b26191d
Support import clauses.
2016-10-23 17:01:21 -07:00
Natalie Weizenbaum
18cc8d3f66
Support keyframes.
2016-10-20 23:07:35 -07:00
Natalie Weizenbaum
3a0c5ce09c
More API docs.
2016-10-09 16:36:36 -07:00
Natalie Weizenbaum
2289901df8
Support url() imports.
2016-10-07 14:05:54 -07:00
Natalie Weizenbaum
89e095d2c2
Add a bunch of API docs.
2016-09-30 18:42:41 -07:00
Natalie Weizenbaum
3329ba80b8
Re-add CssValue.toString().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
5e23c99b22
Get rid of more redundant toString() definitions.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
92f657db46
Don't emit placeholders.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
673db13d51
Move emptiness-checking to the serializer.
...
We can't actually know if a rule will be empty until we've evaluated the
entire stylesheet, since it might contain a placeholder that may or may
not be extended.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
cc56ea0f13
Implement CssNode.toString() using toCss().
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
e607e7914f
Support @at-root.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
0fe62a04a6
@supports support.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
ffb85921cb
Buggy implementation of CSS @import.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
f1ce6ea599
Format all code.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
faa86b697c
Make (most) spans mandatory.
...
Arguments are still optional since they may be constructed for
user-defined arguments.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
c4cda30bc0
Validate dynamic children.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
fcaa696f02
Re-organize AST files.
2016-08-30 15:51:22 -07:00
Natalie Weizenbaum
64c2453a35
Fix printing of childless at-rules.
2016-08-30 15:51:22 -07:00
Natalie Weizenbaum
6c0a2547b0
Re-organize visitors.
2016-08-30 15:51:21 -07:00
Natalie Weizenbaum
98682b67a8
Add support for custom properties.
2016-08-30 15:51:20 -07:00
Natalie Weizenbaum
16ace03246
Add Extender.addExtension
2016-08-30 15:51:19 -07:00
Natalie Weizenbaum
e8756eb02d
Make CssNodes directly mutable.
...
This shaves off a significant amount of time, since now we don't have to
do what is essentially a full copy of the CSS tree. We may want to use
interfaces to provide an immutable view of the CSS tree for use outside
of the perform visitor.
2016-08-30 15:51:19 -07:00
Natalie Weizenbaum
9575005571
Fix analysis issues.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
42ead803e9
Partial implementation of media rule merging.
...
The outer query is still hanging around.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
ed9f54b076
Add a Parent interface.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
2ece8c19c9
Complete the loop on media queries.
...
Still need bubbling support.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
8d46af6b56
Add support for unrecognized at-rules.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
951ab45274
Parse selectors for rule nodes.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
e413dfb427
SourceSpan -> FileSpan
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
01e31fe4ad
Add CSS and Value visitors.
2016-08-30 15:51:17 -07:00
Natalie Weizenbaum
8a395d7f7b
Hooray for exports!
2016-08-30 15:51:17 -07:00
Natalie Weizenbaum
34b365c8c6
Simple perform.
2016-08-30 15:51:16 -07:00
Natalie Weizenbaum
5543201398
Change CssValue.
2016-08-30 15:51:16 -07:00
Natalie Weizenbaum
4023f33d4c
Make the CSS AST a sibling of the Sass AST.
2016-08-30 15:51:16 -07:00