diff --git a/components/style/counter_style/mod.rs b/components/style/counter_style/mod.rs index 1688189d3e0..e470e53ae1f 100644 --- a/components/style/counter_style/mod.rs +++ b/components/style/counter_style/mod.rs @@ -55,7 +55,12 @@ pub fn parse_counter_style_name<'i, 't>( } fn is_valid_name_definition(ident: &CustomIdent) -> bool { - ident.0 != atom!("decimal") && ident.0 != atom!("disc") + ident.0 != atom!("decimal") + && ident.0 != atom!("disc") + && ident.0 != atom!("circle") + && ident.0 != atom!("square") + && ident.0 != atom!("disclosure-closed") + && ident.0 != atom!("disclosure-open") } /// Parse the prelude of an @counter-style rule