pub fn parse_corner_radii(
ctx: &str,
name: &str,
value: &str,
) -> Result<[f32; 4], ParseError>Expand description
CSS border-radius multi-value shorthand -> per-corner radii
[top-left, top-right, bottom-right, bottom-left]:
- 1 value
a->[a, a, a, a] - 2 values
a b->[a, b, a, b] - 3 values
a b c->[a, b, c, b] - 4 values -> explicit per-corner.