css_ast/types/
compat_auto.rs

1use css_parse::keyword_set;
2use csskit_derives::Visitable;
3
4keyword_set!(
5	/// <https://drafts.csswg.org/css-ui-4/#typedef-appearance-compat-auto>
6	///
7	/// These values exist for compatibility of content developed for earlier non-standard versions of this property.
8	/// They all have the same effect as auto.
9	///
10	/// ```text,ignore
11	/// <compat-auto> = searchfield | textarea | checkbox | radio | menulist | listbox | meter | progress-bar | button
12	/// ```
13	#[derive(Visitable)]
14	#[visit(skip)]
15	pub enum CompatAuto {
16		Searchfield: "searchfield",
17		Textarea: "textarea",
18		Checkbox: "checkbox",
19		Radio: "radio",
20		Menulist: "menulist",
21		Listbox: "listbox",
22		Meter: "meter",
23		ProgressBar: "progress-bar",
24		Button: "button",
25	}
26);