def css.apply.rules
import gralha-css-style@0.1.0.1/css.bend as Cssimport Base
428def css.apply.rules(rs: List<&2, CSSRule>, +context: CSSContext, choices: List<&2, CSSChoice>) -> List<&2, CSSChoice>:
429 match rs:
430 case Nil{}: choices
431 case Con{CSSRule{sel, ds}, rest}:
432 css.apply.rules(rest, context, css.rule.matched(css.select(sel, context, CSSMatch{False{}, 0}), ds, choices))