Meziantou.Framework.WebPlatform.Css.Selectors namespace

Classes

NameDescription
AttributeSelectorAn attribute selector (https://drafts.csswg.org/selectors-4/#attribute-selectors).
ClassPrefixSelectorA class prefix selector (https://drafts.csswg.org/selectors-5/#class-prefix, tentative): .foo-* matches the elements with a class that starts with the prefix (an identifier ending with a hyphen), followed by at least one character that is not a hyphen.
ClassSelectorA class selector (https://drafts.csswg.org/selectors-4/#class-html).
ComplexSelectorA complex (or relative) selector (https://drafts.csswg.org/selectors-4/#complex).
CompoundSelectorA compound selector, with the pseudo-elements and the pseudo-classes that follow them (https://drafts.csswg.org/selectors-4/#compound).
IdSelectorAn ID selector (https://drafts.csswg.org/selectors-4/#id-selectors).
NestingSelectorThe nesting selector (https://drafts.csswg.org/css-nesting/#nest-selector): the elements matched by the parent style rule, or the scoping root (:scope) outside of a style rule.
PseudoClassSelectorA pseudo-class (https://drafts.csswg.org/selectors-4/#pseudo-classes).
PseudoElementSelectorA pseudo-element (https://drafts.csswg.org/selectors-4/#pseudo-elements). Pseudo-elements are not elements, so a selector containing one never matches an element.
SelectorListA selector list (https://drafts.csswg.org/selectors-4/#selector-list). Parsed selectors are immutable.
SimpleSelectorA simple selector (https://drafts.csswg.org/selectors-4/#simple).
TypeSelectorA type selector or the universal selector (https://drafts.csswg.org/selectors-4/#type-selectors).

Structs

NameDescription
AnBAn An+B value (https://drafts.csswg.org/css-syntax-3/#anb-microsyntax).
NamespaceConstraintThe namespace constraint of a type or attribute selector (https://drafts.csswg.org/selectors-4/#type-nmsp).
SpecificityThe specificity of a selector (https://drafts.csswg.org/selectors-4/#specificity-rules).

Enums

NameDescription
AttributeCaseSensitivityhttps://drafts.csswg.org/selectors-4/#attribute-case
AttributeOperatorhttps://drafts.csswg.org/selectors-4/#attribute-selectors
Combinatorhttps://drafts.csswg.org/selectors-4/#combinators
NamespaceConstraintKindThe kinds of namespace constraint of a type or attribute selector.
PseudoClassThe pseudo-classes (https://drafts.csswg.org/selectors-4/#pseudo-classes).