Module style::stylesheets::scope_rule
source · Expand description
A @scope
rule.
Structs§
- Bounds of the scope.
- A scope root candidate.
- A scoped rule.
- A map containing simple selectors in subjects of scope selectors. This allows fast-rejecting scopes before running the full match.
Enums§
- Types of implicit scope root.
- Target of this scope.
Functions§
- Collect potential scope roots for a given element and its scope target. The check may not pass the ceiling, if specified.
- Given the scope-end selector, check if the element is outside of the scope. That is, check if any ancestor to the root matches the scope-end selector.
- Determine if this selector list, when used as a scope bound selector, is considered trivial.