css_ast/values/scrollbars/
mod.rs1#![allow(warnings)]
2mod impls;
6use impls::*;
7
8#[syntax(" auto | <color>{2} ")]
20#[derive(Parse, Peek, ToSpan, ToCursors, StyleValue, Visitable, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
21#[style_value(
22 initial = "auto",
23 applies_to = "scroll containers",
24 inherited = "yes",
25 percentages = "n/a",
26 canonical_order = "per grammar",
27 animation_type = "by computed value"
28)]
29#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
30#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.scrollbar-color"))]
31#[visit]
32pub struct ScrollbarColorStyleValue;
33
34#[syntax(" auto | thin | none ")]
46#[derive(Parse, Peek, ToSpan, ToCursors, StyleValue, Visitable, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
47#[style_value(
48 initial = "auto",
49 applies_to = "scroll containers",
50 inherited = "no",
51 percentages = "n/a",
52 canonical_order = "per grammar",
53 animation_type = "discrete"
54)]
55#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
56#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.scrollbar-width"))]
57#[visit]
58pub enum ScrollbarWidthStyleValue {}