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
impl MaxSize
sourcepub fn parse_quirky<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks
) -> Result<Self, ParseError<'i>>
pub fn parse_quirky<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, allow_quirks: AllowQuirks ) -> Result<Self, ParseError<'i>>
Parses, with quirks.