Expand description

Servo’s selector parser.


  • 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.


  • A non tree-structural pseudo-class. See https://drafts.csswg.org/selectors-4/#structural-pseudos
  • A pseudo-element, both public and private.



Type Aliases§

  • The type used for storing :lang arguments.