diff --git a/components/style/values/specified/background.rs b/components/style/values/specified/background.rs index 52383deb460..2420825959c 100644 --- a/components/style/values/specified/background.rs +++ b/components/style/values/specified/background.rs @@ -46,11 +46,13 @@ impl BackgroundSize { } /// One of the keywords for `background-repeat`. -define_css_keyword_enum! { RepeatKeyword: - "repeat" => Repeat, - "space" => Space, - "round" => Round, - "no-repeat" => NoRepeat +#[derive(Clone, Copy, Debug, Eq, MallocSizeOf, Parse, PartialEq, ToComputedValue, ToCss)] +#[allow(missing_docs)] +pub enum RepeatKeyword { + Repeat, + Space, + Round, + NoRepeat, } /// The specified value for the `background-repeat` property.