Skip to main content

border_style_priority

Function border_style_priority 

Source
pub fn border_style_priority(style: BorderStyle) -> u8
Expand description

Computes the priority ranking of a border style per CSS 2.1 §17.6.2.1: ‘double’ > ‘solid’ > ‘dashed’ > ‘dotted’ > ‘none’/‘hidden’.