Skip to main content

is_style_property

Function is_style_property 

Source
pub fn is_style_property(name: &str) -> bool
Expand description

true when name is a style property the cascade applies, under either its Lumen spelling or its standard-CSS one. Consumers that sort authored declarations by kind ask this before they hand one to the cascade; anything else in a rule (a --custom property, a typo) answers false.