Function style::properties::cascade::apply_declarations

source ยท
pub fn apply_declarations<'a, E, I>(
    stylist: &'a Stylist,
    pseudo: Option<&'a PseudoElement>,
    rules: &StrongRuleNode,
    guards: &StylesheetGuards<'_>,
    iter: I,
    parent_style: Option<&'a ComputedValues>,
    layout_parent_style: Option<&ComputedValues>,
    first_line_reparenting: FirstLineReparenting<'a>,
    cascade_mode: CascadeMode<'_, '_>,
    cascade_input_flags: ComputedValueFlags,
    rule_cache: Option<&'a RuleCache>,
    rule_cache_conditions: &'a mut RuleCacheConditions,
    element: Option<E>,
) -> Arc<ComputedValues>
where E: TElement + 'a, I: Iterator<Item = (&'a PropertyDeclaration, CascadePriority)>,
Expand description

NOTE: This function expects the declaration with more priority to appear first.