css_ast/values/color_hdr/
mod.rs

1#![allow(warnings)]
2//! https://drafts.csswg.org/css-color-hdr-1/
3
4mod impls;
5use super::prelude::*;
6use impls::*;
7/// Represents the style value for `dynamic-range-limit` as defined in [css-color-hdr-1](https://drafts.csswg.org/css-color-hdr-1/#dynamic-range-limit).
8///
9/// The grammar is defined as:
10///
11/// ```text,ignore
12/// standard | no-limit | constrained | <dynamic-range-limit-mix()>
13/// ```
14///
15/// https://drafts.csswg.org/css-color-hdr-1/#dynamic-range-limit
16#[syntax(" standard | no-limit | constrained | <dynamic-range-limit-mix()> ")]
17#[derive(
18	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
19)]
20#[declaration_metadata(
21    initial = "no-limit",
22    inherits,
23    applies_to = Elements,
24    animation_type = Unknown,
25    property_group = ColorHdr,
26    computed_value_type = Unknown,
27    canonical_order = "per grammar",
28)]
29#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
30#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.dynamic-range-limit"))]
31#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
32pub enum DynamicRangeLimitStyleValue<'a> {}