css-inline

High-performance library for inlining CSS into HTML 'style' attributes

MIT License

Downloads
2.6M
Stars
213
Committers
13

Bot releases are hidden (Show)

css-inline - [JavaScript] Release 0.14.1 Latest Release

Published by Stranger6667 6 months ago

Fixed

  • Precedence of element styles over other styles. #364
css-inline - [Python] Release 0.14.1

Published by Stranger6667 6 months ago

Fixed

  • Precedence of element styles over other styles. #364
css-inline - [Ruby] Release 0.14.1

Published by Stranger6667 6 months ago

Fixed

  • Precedence of element styles over other styles. #364
css-inline - [Rust] Release 0.14.1

Published by Stranger6667 6 months ago

Fixed

  • Precedence of element styles over other styles. #364
css-inline - [JavaScript] Release 0.14.0

Published by Stranger6667 7 months ago

Added

  • External stylesheet caching. #314
  • Inlining to HTML fragments. #335
css-inline - [Python] Release 0.14.0

Published by Stranger6667 7 months ago

Added

  • External stylesheet caching. #314
  • Inlining to HTML fragments. #335

Changed

  • Update html5ever to 0.27.
  • Update PyO3 to 0.21.0.
css-inline - [Ruby] Release 0.14.0

Published by Stranger6667 7 months ago

Added

  • External stylesheet caching. #314
  • Inlining to HTML fragments. #335

Changed

  • Update html5ever to 0.27.
css-inline - [Rust] Release 0.14.0

Published by Stranger6667 7 months ago

Added

  • External stylesheet caching. #314
  • Inlining to HTML fragments. #335

Changed

  • Update html5ever to 0.27.
  • Update rayon to 1.10.
css-inline - [JavaScript] Release 0.13.2

Published by Stranger6667 7 months ago

Changed

  • Update html5ever to 0.27.

Fixed

  • WASM package build. #341
css-inline - [JavaScript] Release 0.13.1

Published by Stranger6667 7 months ago

Added

  • Packages for aarch64-linux-android & arm-linux-androideabi. #336

Fixed

  • Error during loading the module on x86_64-unknown-linux-musl
css-inline - [JavaScript] Release 0.13.0

Published by Stranger6667 9 months ago

Added

  • Support for the data-css-inline="keep" attribute to enforce keeping the style tag.

Fixed

  • Lookups for previous / next siblings, affecting selectors like nth-child. #324

Performance

  • Avoid using binary search on attributes.
css-inline - [Python] Release 0.13.0

Published by Stranger6667 9 months ago

Added

  • Support for the data-css-inline="keep" attribute to enforce keeping the style tag.

Fixed

  • Lookups for previous / next siblings, affecting selectors like nth-child. #324

Performance

  • Avoid using binary search on attributes.
css-inline - [Ruby] Release 0.13.0

Published by Stranger6667 9 months ago

Added

  • Support for the data-css-inline="keep" attribute to enforce keeping the style tag.

Fixed

  • Lookups for previous / next siblings, affecting selectors like nth-child. #324

Performance

  • Avoid using binary search on attributes.
css-inline - [Rust] Release 0.13.0

Published by Stranger6667 9 months ago

Added

  • A way to customize resolving remote stylesheets.
  • Support for the data-css-inline="keep" attribute to enforce keeping the style tag.

Changed

  • Replace attohttpc with reqwest to simplify implementing non-blocking stylesheet resolving in the future release.

Fixed

  • Lookups for previous / next siblings, affecting selectors like nth-child. #324

Performance

  • Avoid using binary search on attributes.
css-inline - [JavaScript] Release 0.12.1

Published by Stranger6667 10 months ago

Added

  • Package for aarch64-apple-darwin.

Changed

  • Avoid loading additional dependencies for WASM resulting in ~6% module size reduction.
css-inline - [Python] Release 0.12.0

Published by Stranger6667 10 months ago

Changed

  • Display stylesheet location in network-related errors.

Performance

  • Optimize serialization of attributes and text nodes.
css-inline - [Ruby] Release 0.12.0

Published by Stranger6667 10 months ago

Changed

  • Display stylesheet location in network-related errors.

Performance

  • Optimize serialization of attributes and text nodes.
css-inline - [Rust] Release 0.12.0

Published by Stranger6667 10 months ago

Changed

  • Display stylesheet location in network-related errors.
  • Implement std::error::Error::source for InlineError.

Performance

  • Optimize serialization of attributes and text nodes.
css-inline - [WASM] 0.11.2

Published by Stranger6667 11 months ago

Performance

  • Avoid iterating over non-Element nodes.
  • Reuse caches for nth index selectors.
css-inline - [Ruby] Release 0.11.2

Published by Stranger6667 11 months ago

Performance

  • Avoid iterating over non-Element nodes.
  • Reuse caches for nth index selectors.