Expand description

The rule tree.


core 🔒
level 🔒
map 🔒
source 🔒
unsafe_box 🔒


The rule tree, the structure servo uses to preserve the results of selector matching.

An iterator over a rule node and its ancestors.

A counter to track how many shadow root rules deep we are. This is used to handle:

A strong reference to a rule node.

A style source for the rule node. It can either be a CSS style rule or a declaration block.


The cascade level these rules are relevant at, as per13.


Used for some size assertions.