#![allow(warnings)]
mod impls;
use super::prelude::*;
use impls::*;
#[syntax(" <'margin-top'>{1,4} ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
longhands = MarginBottom|MarginLeft|MarginRight|MarginTop,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
box_side = Top|Bottom|Left|Right,
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct MarginStyleValue;
#[syntax(" <length-percentage> | auto ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Margin,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Margin,
box_side = Bottom,
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin-bottom"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct MarginBottomStyleValue;
#[syntax(" <length-percentage> | auto ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Margin,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Margin,
box_side = Left,
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin-left"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct MarginLeftStyleValue;
#[syntax(" <length-percentage> | auto ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Margin,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Margin,
box_side = Right,
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin-right"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct MarginRightStyleValue;
#[syntax(" <length-percentage> | auto ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Margin,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Margin,
box_side = Top,
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin-top"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct MarginTopStyleValue;
#[syntax(" none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ] ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "none",
applies_to = Unknown,
animation_type = Discrete,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
box_portion = Margin,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.margin-trim"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub enum MarginTrimStyleValue {}
#[syntax(" <'padding-top'>{1,4} ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
longhands = PaddingBottom|PaddingLeft|PaddingRight|PaddingTop,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
box_side = Top|Bottom|Left|Right,
box_portion = Padding,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.padding"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct PaddingStyleValue;
#[syntax(" <length-percentage [0,∞]> ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Padding,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Padding,
box_side = Bottom,
box_portion = Padding,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.padding-bottom"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct PaddingBottomStyleValue;
#[syntax(" <length-percentage [0,∞]> ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Padding,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Padding,
box_side = Left,
box_portion = Padding,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.padding-left"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct PaddingLeftStyleValue;
#[syntax(" <length-percentage [0,∞]> ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Padding,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Padding,
box_side = Right,
box_portion = Padding,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.padding-right"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct PaddingRightStyleValue;
#[syntax(" <length-percentage [0,∞]> ")]
#[derive(
Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
initial = "0",
applies_to = Unknown,
animation_type = ByComputedValue,
percentages = ContainingBlock,
shorthand_group = Padding,
property_group = Box,
computed_value_type = Unknown,
canonical_order = "per grammar",
logical_property_group = Padding,
box_side = Top,
box_portion = Padding,
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.padding-top"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub struct PaddingTopStyleValue;