Skip to main content

compute_styles_with_vars_stack

Function compute_styles_with_vars_stack 

Source
pub(crate) fn compute_styles_with_vars_stack<'a>(
    root: &'a Node,
    stylesheet: &StyleSheet,
    rule_index: Option<&RuleIndex>,
    ancestors: &[AncestorContext<'a>],
    sibling_index: Option<usize>,
    sibling_count: Option<usize>,
    active_pseudo_states: &[&str],
    parent_vars: &Rc<BTreeMap<String, String>>,
    counters_in: &BTreeMap<String, i64>,
    counter_stack: Option<&CounterScopeStack>,
) -> (BTreeMap<String, String>, Rc<BTreeMap<String, String>>, BTreeMap<String, i64>, BTreeSet<String>)