Module style::servo::selector_parser
source · Expand description
Servo’s selector parser.
Structs§
- The type used to store the state argument to the
:state
pseudo-class. - A set of extra data to carry along with the matching context, either for selector-matching or invalidation.
- The abstract struct we implement the selector parser implementation on top of.
- Servo’s version of an element snapshot.
- A map from elements to snapshots for the Servo style back-end.
Enums§
- A non tree-structural pseudo-class. See https://drafts.csswg.org/selectors-4/#structural-pseudos
- A pseudo-element, both public and private.
Constants§
- The number of eager pseudo-elements. Keep this in sync with cascade_type.
- The count of all pseudo-elements.
Functions§
- Returns whether the language is matched, as defined by RFC 4647.
Type Aliases§
- The type used for storing
:lang
arguments.