style: Move font-family outside of mako

This commit is contained in:
CYBAI 2017-11-25 02:44:26 +08:00
parent 7ac376eed6
commit a470ebd501
14 changed files with 595 additions and 569 deletions

View file

@ -3337,7 +3337,7 @@ pub extern "C" fn Servo_DeclarationBlock_SetFontFamily(
let string = unsafe { (*value).to_string() };
let mut input = ParserInput::new(&string);
let mut parser = Parser::new(&mut input);
let result = FontFamily::parse(&mut parser);
let result = FontFamily::parse_specified(&mut parser);
if let Ok(family) = result {
if parser.is_exhausted() {
let decl = PropertyDeclaration::FontFamily(family);