mirror of
https://github.com/servo/servo.git
synced 2025-09-07 13:38:20 +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
|
@ -120,7 +120,7 @@
|
|||
return Err(input.new_custom_error(StyleParseErrorKind::UnspecifiedError))
|
||||
}
|
||||
|
||||
let family = FontFamily::parse(input)?;
|
||||
let family = FontFamily::parse_specified(input)?;
|
||||
Ok(expanded! {
|
||||
% for name in "style weight stretch variant_caps".split():
|
||||
font_${name}: unwrap_or_initial!(font_${name}, ${name}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue