layout_2020::display_list

Function resolve_border_image_width

source
fn resolve_border_image_width(
    width: &BorderImageWidth,
    border: SideOffsets2D<f32, LayoutPixel>,
    border_area: Size2D<f32, LayoutPixel>,
) -> SideOffsets2D<f32, LayoutPixel>
Expand description

Resolve the WebRender border-image width from the style values.