Type Alias style::values::computed::font::FontSizeAdjust

source ·
pub type FontSizeAdjust = GenericFontSizeAdjust<NonNegativeNumber>;
Expand description

Preserve the readability of text when font fallback occurs.

Aliased Type§

enum FontSizeAdjust {
    None,
    ExHeight(NonNegative<f32>),
    CapHeight(NonNegative<f32>),
    ChWidth(NonNegative<f32>),
    IcWidth(NonNegative<f32>),
    IcHeight(NonNegative<f32>),
}

Variants§

§

None

§

ExHeight(NonNegative<f32>)

§

CapHeight(NonNegative<f32>)

§

ChWidth(NonNegative<f32>)

§

IcWidth(NonNegative<f32>)

§

IcHeight(NonNegative<f32>)

Implementations§

source§

impl FontSizeAdjust

source

pub fn none() -> Self

Default value of font-size-adjust