Type Alias style::values::specified::ClipRectOrAuto

source ·
pub type ClipRectOrAuto = GenericClipRectOrAuto<ClipRect>;
Expand description

rect(…) | auto

Aliased Type§

enum ClipRectOrAuto {
    Auto,
    Rect(GenericClipRect<GenericLengthPercentageOrAuto<Length>>),
}

Variants§

Implementations§

source§

impl ClipRectOrAuto

source

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

Parses a ClipRect or Auto, allowing quirks.