aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/properties/shorthand/background.mako.rs7
1 files changed, 0 insertions, 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
}