diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs index c50d0a852fe..5783a234ec9 100644 --- a/components/style/properties.mako.rs +++ b/components/style/properties.mako.rs @@ -1775,6 +1775,9 @@ pub mod longhands { pub fn parse(_context: &ParserContext, input: &mut Parser) -> Result { let mut filters = Vec::new(); + if input.try(|input| input.expect_ident_matching("none")).is_ok() { + return Ok(SpecifiedValue::new(filters)) + } loop { if let Ok(function_name) = input.try(|input| input.expect_function()) { filters.push(try!(input.parse_nested_block(|input| {