mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Don't convert property declarations to lowercase
Property declarations are case-sensitive per spec and we should preserve that behavior.
This commit is contained in:
parent
e97f28e2a6
commit
9b63fedf59
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue