Skip to main content

PrecomputedPseudoElementDeclarations

Type Alias PrecomputedPseudoElementDeclarations 

Source
type PrecomputedPseudoElementDeclarations = PerPseudoElementMap<Vec<StyleSource>>;
Expand description

The declarations for the precomputed pseudo-elements.

We don’t need the rest of the fields of ApplicableDeclarationBlock: These are never sorted (they’re in document order, and their selectors are all universal), and they’re all UA rules in the root layer.

Aliased Type§

struct PrecomputedPseudoElementDeclarations {
    sparse: [i8; 23],
    dense: Vec<Vec<StyleSource>>,
}

Fields§

§sparse: [i8; 23]§dense: Vec<Vec<StyleSource>>