What’s New

csstree v2.2.0

v2.2.0

2.2.0

Added
  • Support for CSS wide keywords revert and revert-layer
  • New units rex, cap, rcap, rch, ic, ric, lh, rlh, vi, vb, sv*, lv*, dv* according to CSS Values and Units 4
  • Container relative length units cqw, cqh, cqi, cqb, cqmin, cqmax from CSS Containment 3
  • Support for stacked multipliers +# and #? in value definition syntax
  • Parsing of a dimension in range definition notations
Changed
  • Bumped mdn-data to 2.0.28
  • Patched background-clip property definition to match Backgrounds and Borders 4 specification
  • Patched content property definition to allow attr()
  • Parsing of range definition notation to not omit [-∞,∞] ranges
Fixed
  • Definition syntax matching when a comma is expected before a <delim-token>
  • At-rule validation fail when no prelude is specified and its syntax allows an empty prelude, affecting @page at-rule
Removed
  • Support for expression() function
  • Unit vm
  • Bumped mdn-data to 2.0.28
  • Added support for CSS wide keywords revert and revert-layer
  • Dropped support for expression() the same way as CSS wide keywords
  • Patched background-clip property definition to match Backgrounds and Borders 4 (#190)
  • Patched content property definition to allow attr() (#201)
  • Fixed definition syntax matching when a comma is expected before a <delim-token>
  • Fixed at-rule validation fail when no prelude is specified and its syntax allows an empty prelude, that's the case for @page at-rule (#191)
  • Added new units according to current state of CSS Values and Units 4: rex, cap, rcap, rch, ic, ric, lh, rlh, vi, vb, sv*, lv*, dv*
  • Added container relative length units from CSS Containment 3: cqw, cqh, cqi, cqb, cqmin, cqmax
  • Removed vm unit (supposed to be an old IE versions supported this unit instead of vmax)
  • Value definition syntax:
    • Added support for stacked multipliers +# and #? according to spec (#199)
    • Added parsing of a dimension in range definition notations, however, a validation for such ranges is not supported yet (#192)
    • Changed parsing of range definition notation to not omitting [-∞,∞] ranges
View original