def css.rule.matched

gralha-css-style@0.1.0.1 · css.bend:424

import gralha-css-style@0.1.0.1/css.bend as Css
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-xml-doc@0.1.0.1/xml.bend as XML

424def css.rule.matched(result: CSSMatch, ds: List<&2, XML.Attr>, +choices: List<&2, CSSChoice>) -> List<&2, CSSChoice>:
425  CSSMatch{matched, score} = result
426  U.branch(List<&2, CSSChoice>, matched, _ => css.cascade(ds, score, choices), _ => choices)

Uses (6)

Used by (1)