From 4f36b30e3418616adaadee8d6134249f25331b59 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Mon, 11 Sep 2017 16:35:11 +0200 Subject: [PATCH] Do not use CVAS for the text-decoration-line property --- components/style/properties/longhand/text.mako.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/style/properties/longhand/text.mako.rs b/components/style/properties/longhand/text.mako.rs index 0bb640e02e2..78d98d63791 100644 --- a/components/style/properties/longhand/text.mako.rs +++ b/components/style/properties/longhand/text.mako.rs @@ -146,12 +146,10 @@ ${helpers.single_keyword("unicode-bidi", spec="https://drafts.csswg.org/css-text-decor/#propdef-text-decoration-line"> use std::fmt; use style_traits::ToCss; - use values::computed::ComputedValueAsSpecified; - - impl ComputedValueAsSpecified for SpecifiedValue {} bitflags! { #[cfg_attr(feature = "servo", derive(HeapSizeOf))] + #[derive(ToComputedValue)] pub flags SpecifiedValue: u8 { const NONE = 0, const UNDERLINE = 0x01,