From 5baebb0d44361dc265b9600f57fb27d059d5a739 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 6 Feb 2015 09:07:55 +1100 Subject: [PATCH] Requires at least one function in `filter` parsing. --- components/style/properties.mako.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs index 4ac7f6902de..c50d0a852fe 100644 --- a/components/style/properties.mako.rs +++ b/components/style/properties.mako.rs @@ -1790,6 +1790,8 @@ pub mod longhands { _ => Err(()) } }))); + } else if filters.is_empty() { + return Err(()) } else { return Ok(SpecifiedValue::new(filters)) }