This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
Releases: dart-archive/csslib
Releases · dart-archive/csslib
0.16.2
0.16.1
0.16.0
0.14.6
-
Removed whitespace between comma-delimited expressions in compact output.
Before:
div{color:rgba(0, 0, 0, 0.5);}
After:
div{color:rgba(0,0,0,0.5);}
-
Removed last semicolon from declaration groups in compact output.
Before:
div{color:red;background:blue;}
After:
div{color:red;background:blue}
0.14.4
0.14.0
New features
- Supports nested at-rules.
- Supports nested HTML comments in CSS comments and vice-versa.
Breaking changes
- The
List<RuleSet> rulesets
field onMediaDirective
,HostDirective
, and
StyletDirective
has been replaced byList<TreeNode> rules
to allow nested
at-rules in addition to rulesets.
0.13.6
- Adds support for
@viewport
. - Adds support for
-webkit-calc()
and-moz-calc()
. - Adds support for querying media features without specifying an expression. For
example:@media (transform-3d) { ... }
. - Prevents exception being thrown for invalid dimension terms, and instead
issues an error.
0.13.5
0.13.4
- Parses CSS 2.1 pseudo-elements as pseudo-elements instead of pseudo-classes.
- Supports signed decimal numbers with no integer part.
- Fixes parsing hexadecimal numbers when followed by an identifier.
- Fixes parsing strings which contain unicode-range character sequences.