Type Definition style::values::computed::length::Length

source ·
pub type Length = CSSPixelLength;
Expand description

An alias of computed <length> value.

Trait Implementations§

source§

impl ToAbsoluteLength for ComputedLength

source§

fn to_pixel_length( &self, _containing_len: Option<ComputedLength> ) -> Result<CSSFloat, ()>

Returns the absolute length as pixel value.