9 breaking releases
| 0.9.0 | Nov 12, 2025 |
|---|---|
| 0.7.0 | Sep 5, 2025 |
| 0.5.0 | Jul 3, 2025 |
| 0.2.0 | Mar 31, 2025 |
| 0.0.1 | Apr 29, 2024 |
#335 in Concurrency
3,292 downloads per month
Used in 15 crates
(4 directly)
5MB
109K
SLoC
Contains (Python package, 79KB) mako-1.3.10-py3-none-any.whl
servo-style
Style system for Servo, using rust-cssparser for parsing.
lib.rs:
Calculate specified and computed values from a tree of DOM nodes and a set of stylesheets.
In particular, this crate contains the definitions of supported properties, the code to parse them into specified values and calculate the computed values based on the specified values, as well as the code to serialize both specified and computed values.
The main entry point is recalc_style_at.
A list of supported style properties can be found as docs::supported_properties
Dependencies
~15MB
~199K SLoC