Skip to main content

parse_declaration_list

Function parse_declaration_list 

Source
pub fn parse_declaration_list(css: &str) -> BlockContents<'_>
Expand description

Parse a list of declarations, as for a style attribute. The spec has at-rules here parsed and thrown away; they’re kept, as Item::Rules, for you to throw away. Nothing else becomes a rule.