Module style::stylesheets::scope_rule

source ·
Expand description

A @scope rule.

Structs§

Enums§

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.