Function style::properties::declaration_block::parse_one_declaration_into
source ยท pub fn parse_one_declaration_into(
declarations: &mut SourcePropertyDeclaration,
id: PropertyId,
input: &str,
origin: Origin,
url_data: &UrlExtraData,
error_reporter: Option<&dyn ParseErrorReporter>,
parsing_mode: ParsingMode,
quirks_mode: QuirksMode,
rule_type: CssRuleType,
) -> Result<(), ()>
Expand description
Parse a given property declaration. Can result in multiple
PropertyDeclaration
s when expanding a shorthand, for example.
This does not attempt to parse !important at all.