Skip to main content

parse_border_style

Function parse_border_style 

Source
pub fn parse_border_style(
    ctx: &str,
    name: &str,
    value: &str,
) -> Result<BorderStyleSpec, ParseError>
Expand description

border-style keyword: none | solid (v1 subset). Other CSS styles (dashed, dotted, …) are rejected so the declaration is skipped with a warning instead of silently misrendering.