def css.empty
import gralha-css-style@0.1.0.1/css.bend as Cssimport 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
131def css.empty(xs: List<&2, XML.Element>) -> Bool:
132 match xs:
133 case Nil{}: True{}
134 case Con{XML.Element{n, as, kids, txt}, rest}:
135 U.string.equal(n, "#text") && U.string.equal(txt, "") && css.empty(rest)