Module style::stylesheets::origin

source ·
Expand description


  • A set of origins. This is equivalent to Gecko’s OriginFlags.
  • Iterates over the origins present in an OriginSet, in order from highest priority (author) to lower (user agent).
  • An object that stores a T for each origin of the CSS cascade.
  • Iterator over PerOrigin<T>, from highest level (author) to lowest (user agent).
  • Like PerOriginIter<T>, but iterates over mutable references to the per-origin data.


  • Each style rule has an origin, which determines where it enters the cascade.