mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update cssparser
This commit is contained in:
parent
72279cc7eb
commit
8bfe978c78
16 changed files with 72 additions and 70 deletions
|
@ -119,7 +119,7 @@ impl<'a, 'b> AtRuleParser for FontFaceRuleParser<'a, 'b> {
|
|||
impl<'a, 'b> DeclarationParser for FontFaceRuleParser<'a, 'b> {
|
||||
type Declaration = FontFaceDescriptorDeclaration;
|
||||
|
||||
fn parse_value(&self, name: &str, input: &mut Parser) -> Result<FontFaceDescriptorDeclaration, ()> {
|
||||
fn parse_value(&mut self, name: &str, input: &mut Parser) -> Result<FontFaceDescriptorDeclaration, ()> {
|
||||
match_ignore_ascii_case! { name,
|
||||
"font-family" => {
|
||||
Ok(FontFaceDescriptorDeclaration::Family(try!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue