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