AnchorScope

Type Alias AnchorScope 

Source
pub type AnchorScope = TreeScoped<AnchorScopeKeyword>;
Expand description

https://drafts.csswg.org/css-anchor-position-1/#propdef-scope

Aliased Type§

#[repr(C)]
pub struct AnchorScope { pub value: AnchorScopeKeyword, pub scope: CascadeLevel, }

Fields§

§value: AnchorScopeKeyword

The scoped value.

§scope: CascadeLevel

The cascade level in the shadow tree hierarchy.

Implementations§

Source§

impl AnchorScope

Source

pub fn none() -> Self

Return the none value.