Module css::selectors::matching
[−]
[src]
Reexports
pub use selectors::context::*; |
Structs
ElementSelectorFlags |
Set of flags that are set on either the element or its parent (depending on the flag) if the element could potentially match a selector. |
LocalMatchingContext |
Holds per-selector data alongside a pointer to MatchingContext. |
Enums
CompoundSelectorMatchingResult |
Whether a compound selector matched, and whether it was the rightmost selector inside the complex selector. |
RelevantLinkStatus |
Tracks whether we are currently looking for relevant links for a given complex selector. A "relevant link" is the element being matched if it is a link or the nearest ancestor link. |
Statics
RECOMMENDED_SELECTOR_BLOOM_FILTER_SIZE |
Functions
matches_complex_selector |
Matches a complex selector. |
matches_compound_selector |
Matches a compound selector belonging to |
matches_selector |
Matches a selector, fast-rejecting against a bloom filter. |
matches_selector_list |