/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! Generic types for CSS values in SVG
usecrate::parser::{Parse, ParserContext}; use cssparser::Parser; use style_traits::ParseError;
/// The fallback of an SVG paint server value. #[derive(
Animate,
Clone,
ComputeSquaredDistance,
Debug,
MallocSizeOf,
PartialEq,
Parse,
SpecifiedValueInfo,
ToAnimatedValue,
ToAnimatedZero,
ToComputedValue,
ToCss,
ToResolvedValue,
ToShmem,
)] #[repr(C, u8)] pubenum GenericSVGPaintFallback<C> { /// The `none` keyword.
None, /// A magic value that represents no fallback specified and serializes to /// the empty string. #[css(skip)]
Unset, /// A color.
Color(C),
}
pubuseself::GenericSVGPaintFallback as SVGPaintFallback;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.