From 9b63fedf59e9133d41c611795640b9a2f50f7262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Mon, 4 Sep 2017 15:41:16 -0700 Subject: [PATCH] Don't convert property declarations to lowercase Property declarations are case-sensitive per spec and we should preserve that behavior. --- components/style/stylesheets/font_feature_values_rule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/stylesheets/font_feature_values_rule.rs b/components/style/stylesheets/font_feature_values_rule.rs index 57fc9ccc7868..e2adac1fc8bd 100644 --- a/components/style/stylesheets/font_feature_values_rule.rs +++ b/components/style/stylesheets/font_feature_values_rule.rs @@ -210,7 +210,7 @@ impl<'a, 'b, 'i, T> DeclarationParser<'i> for FFVDeclarationsParser<'a, 'b, T> -> Result<(), ParseError<'i>> { let value = input.parse_entirely(|i| T::parse(self.context, i))?; let new = FFVDeclaration { - name: Atom::from(&*name).to_ascii_lowercase(), + name: Atom::from(&*name), value: value, }; update_or_push(&mut self.declarations, new);