diff --git a/components/style/properties/shorthand/position.mako.rs b/components/style/properties/shorthand/position.mako.rs index 248127a7aa4..d304f2bab6e 100644 --- a/components/style/properties/shorthand/position.mako.rs +++ b/components/style/properties/shorthand/position.mako.rs @@ -316,6 +316,7 @@ list.line_names[0] = first_line_names; // won't panic } + input.expect_delim('/')?; Ok((template_rows, GridTemplateComponent::parse(context, input)?, Either::Second(None_))) } }