mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
style: Move font-family outside of mako
This commit is contained in:
parent
7ac376eed6
commit
a470ebd501
14 changed files with 595 additions and 569 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue