Expand description
Selector matching.
Structs
- Data resulting from performing the CSS cascade that is specific to a given origin.
- A key in the cascade data cache.
- The id of a given container condition, a sequentially-increasing identifier for a given style set.
- A struct containing state from ancestor rules like @layer / @import / @container / nesting.
- All the computed information for all the stylesheets that apply to the document.
- An iterator over the cascade data of a given document.
- The empty UA cascade data for un-filled stylists.
- This struct holds data which users of Stylist may want to extract from stylesheets which can be done at the same time as updating.
- An iterator over the different ExtraStyleData.
- A set of rules for element and pseudo-elements.
- The id of a given layer, a sequentially-increasing identifier.
- A map that is sorted in layer order.
- A vector that is sorted in layer order.
- Wrapper to allow better tracking of memory usage by page rule lists.
- Stores page rules indexed by page names.
- SelectorMapEntry implementation for use in our revalidation selector map.
- A rule, that wraps a style rule, but represents a single selector of the rule.
- This structure holds all the selectors and device characteristics for a given document. The selectors are converted into
Rule
s and sorted intoSelectorMap
s keyed off stylesheet origin and pseudo-element (seeCascadeData
). - A selector visitor implementation that collects all the state the Stylist cares about a selector.
- A wrapper over a DocumentStylesheetSet that can be
Sync
, since it’s only used and exposed via mutable methods in theStylist
. - A cache of computed user-agent data, to be shared across documents.
Enums
- Whether author styles are enabled.
- What cascade levels to include when styling elements.
Traits
Functions
- A function to be able to test the revalidation stuff.
Type Aliases
- PartMap 🔒
- The type of the stylesheets that the stylist contains.