css_ast/values/viewport/
mod.rs1#![allow(warnings)]
2mod impls;
5use super::prelude::*;
6use impls::*;
7#[syntax(" <number [0,∞]> | <percentage [0,∞]> ")]
19#[derive(
20 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
21)]
22#[declaration_metadata(
23 initial = "1",
24 applies_to = Unknown,
25 percentages = Number,
26 property_group = Viewport,
27 computed_value_type = AsSpecified,
28 canonical_order = "per grammar",
29)]
30#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
31#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.zoom"))]
32#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
33pub struct ZoomStyleValue;