Expand description
Stylesheet โ declaration list for a given (target, ancestors, state).
Walks every rule in source order, keeps the best per-property match
ranked by (important, specificity, rule_idx, decl_idx). !important
wins over any non-important declaration regardless of specificity;
within either group, higher specificity wins, with rule order (then
intra-rule declaration order) breaking ties.
Structsยง
- Resolved
Style - Resolved style for one node โ property -> value, with cascade already applied. Adapter crates (e.g. hjkl-css-floem) convert this to their own builder type.