Expand description
High-level interface to CSS selector matching.
Structs§
- Style
Difference - Represents the result of comparing an element’s old and new style.
Enums§
- Cascade
Visited 🔒Mode - Determines which styles are being cascaded currently.
- Child
Restyle Requirement - Whether or not newly computed values for an element need to be cascaded to children (or children might need to be re-matched, e.g., for container queries).
- Style
Change - Represents whether or not the style of an element has changed.
Traits§
- Match
Methods - The public API that elements expose for selector matching.
- Private
Match 🔒Methods