View on GitHub

CSS-Stylesheet-raku

CSS Stylesheet representation

[Raku CSS Project] / [CSS-Stylesheet] / CSS::Selectors

class CSS::Selectors

Selector component of rule-sets

Methods

method specificity

method specificity() returns Version

Returns selector specificity in the form v..

method xpath

method xpath() returns Str

Returns an XPath translation of the selector