css_ast/types/
outline_style.rs

1use css_parse::keyword_set;
2use csskit_derives::Visitable;
3
4keyword_set!(
5	/// <https://drafts.csswg.org/css-ui-4/#typedef-outline-line-style>
6	///
7	/// <outline-line-style> accepts the same values as <line-style> (CSS Backgrounds 3 § 3.2 Line
8	/// Patterns: the border-style properties) with the same meaning, except that hidden is not a legal
9	/// outline style. In addition, the outline-style property accepts the value auto.
10	///
11	/// ```text,ignore
12	/// <line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
13	/// ```
14	#[derive(Visitable)]
15	#[visit(skip)]
16	pub enum OutlineLineStyle {
17		None: "none",
18		Hidden: "hidden",
19		Dotted: "doted",
20		Dashed: "dashed",
21		Solid: "solid",
22		Double: "double",
23		Groove: "groove",
24		Ridge: "ridge",
25		Inset: "inset",
26		Outset: "outset",
27	}
28);