From 3e51595f8e2221381119461d98f930c369cb5c59 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Thu, 25 May 2017 18:45:41 +1000 Subject: [PATCH] Allow text to be in background shorthand --- components/style/properties/shorthand/background.mako.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/style/properties/shorthand/background.mako.rs b/components/style/properties/shorthand/background.mako.rs index 5a7747cf3fb..36652a73520 100644 --- a/components/style/properties/shorthand/background.mako.rs +++ b/components/style/properties/shorthand/background.mako.rs @@ -72,13 +72,6 @@ if ${name}.is_none() { if let Ok(value) = input.try(|input| background_${name}::single_value ::parse(context, input)) { - % if name == "clip" and product == "gecko": - // "text" value of background-clip should not be part of background - // shorthand per current spec and impls. - if value == background_clip::single_value::SpecifiedValue::text { - return Err(()); - } - % endif ${name} = Some(value); continue }