Type Alias style::values::specified::length::MaxSize

source ·
pub type MaxSize = GenericMaxSize<NonNegativeLengthPercentage>;
Expand description

A specified value for max-width or max-height property.

Aliased Type§

enum MaxSize {
    LengthPercentage(NonNegative<LengthPercentage>),
    None,
}

Variants§

§

LengthPercentage(NonNegative<LengthPercentage>)

§

None

Implementations§

source§

impl MaxSize

source

pub fn parse_quirky<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, allow_quirks: AllowQuirks ) -> Result<Self, ParseError<'i>>

Parses, with quirks.

Trait Implementations§

source§

impl Parse for MaxSize

source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't> ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more