pub fn apply_css(
ir: &mut LayoutIR,
css: &Stylesheet,
) -> Result<Vec<CssWarning>, ParseError>Expand description
Apply a stylesheet to a LayoutIR. Each property follows
(origin, !important, specificity, source_order) ordering and the
last matching declaration wins. HTML inline attrs always beat
CSS (origin precedence: inline > user/UA).