diff --git a/components/style/properties/longhand/list.mako.rs b/components/style/properties/longhand/list.mako.rs index 01f4b6145bf..10d81fc4691 100644 --- a/components/style/properties/longhand/list.mako.rs +++ b/components/style/properties/longhand/list.mako.rs @@ -141,18 +141,15 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu use cssparser::serialize_string; use std::fmt; use style_traits::ToCss; - use values::computed::ComputedValueAsSpecified; pub use self::computed_value::T as SpecifiedValue; pub mod computed_value { - #[derive(Clone, Debug, PartialEq)] #[cfg_attr(feature = "servo", derive(HeapSizeOf))] - pub struct T(pub Vec<(String,String)>); + #[derive(Clone, Debug, PartialEq, ToComputedValue)] + pub struct T(pub Vec<(String, String)>); } - impl ComputedValueAsSpecified for SpecifiedValue {} - impl ToCss for SpecifiedValue { fn to_css(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { if self.0.is_empty() {