Skip to content

Releases: dart-lang/csslib

0.16.2

27 Jul 18:46
Compare
Choose a tag to compare
  • Added support for escape codes in identifiers.

0.16.1

08 Jul 17:59
Compare
Choose a tag to compare
  • Fixed a crash caused by parsing certain calc() expressions and variables names that contain numbers.

0.16.0

25 Apr 02:34
Compare
Choose a tag to compare
  • Removed support for the shadow-piercing comibnators /deep/ and >>>. These
    were dropped from the Shadow DOM specification.

0.14.6

04 Oct 17:14
Compare
Choose a tag to compare
  • 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

10 May 23:13
Compare
Choose a tag to compare
  • Reduced whitespace in compact output for the @page at-rule and margin boxes.
  • Updated SDK version to 2.0.0-dev.17.0.
  • Stop using deprecated constants.

0.14.0

31 May 19:27
Compare
Choose a tag to compare

New features

  • Supports nested at-rules.
  • Supports nested HTML comments in CSS comments and vice-versa.

Breaking changes

  • The List<RuleSet> rulesets field on MediaDirective, HostDirective, and
    StyletDirective has been replaced by List<TreeNode> rules to allow nested
    at-rules in addition to rulesets.

0.13.6

12 May 21:13
Compare
Choose a tag to compare
  • 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

12 Apr 18:04
Compare
Choose a tag to compare
  • Adds support for @-moz-document.
  • Adds support for @supports.

0.13.4

07 Mar 22:14
Compare
Choose a tag to compare
  • 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.

0.13.3+1

26 Jan 01:25
Compare
Choose a tag to compare
  • Fixes analyzer error.