Releases: jsdom/cssstyle
Releases · jsdom/cssstyle
v4.1.0
- Add
calc()
support for margin
and padding
properties. (#175)
- Update list of supported properties.
- Update rrweb-cssom.
v4.0.1
- Re-added the performance fix that was supposed to appear in v4.0.0, but was accidentally un-done in another commit in that release. (#170)
v4.0.0
- Require Node.js ≥ 18
- Handle
margin
and padding
, and their sub-properties like marginTop
, better, especially when set to the empty string or null. (#162, #165)
- Fix HSL to RGB conversion. (#159)
- Performance improvements by avoiding access to the expensive
cssText
property. (#164)
- No longer call the
onChange
callback when the serialized property value does not change. (#147)
v3.0.0
- Require Node.js ≥14
- Use rrweb-cssom, a maintained fork of cssom (closes #153)
- Update list of supported properties
v2.3.0
- Add support for un-computed
calc()
values
v2.2.0
- Add basic support for CSS custom properties
v2.1.0
- Reduce package size.
- was
151.1 kB
/ 1.5 MB
... now 30.0 kB
(packed) / 174.4 kB
(unpacked)
- Add support for
ch
unit.
- Fix color with decimal alpha values.
- Convert hsl / hsla to rgb / rgba to match current browser behavior.
v2.0.0
- Add support to hex alpha transparency (#rgba)
- Fix font size declaration not checking for invalid value
- Upgrade all dependencies
- Migrate nodeunit -> jest
- Add codedov integration
v1.4.0
- Add missing valid color refs 'transparent' and 'currentcolor'
v1.2.1
- Test node versions 6, 8, 10, and 11 in CI
- Remove comma dangle which breaks legacy (Node 6) apps