Skip to content
Permalink
Browse files

Don't convert property declarations to lowercase

Property declarations are case-sensitive per spec and we should
preserve that behavior.
  • Loading branch information
canova committed Sep 4, 2017
1 parent e97f28e commit 9b63fedf59e9133d41c611795640b9a2f50f7262
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 9b63fed

Please sign in to comment.
You can’t perform that action at this time.