mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -587,9 +587,9 @@ impl LayoutElementHelpers for LayoutDom<Element> {
|
|||
shared_lock,
|
||||
PropertyDeclaration::FontFamily(
|
||||
font_family::SpecifiedValue::Values(
|
||||
font_family::computed_value::FontFamilyList::new(vec![
|
||||
font_family::computed_value::FontFamily::from_atom(
|
||||
font_family)])))));
|
||||
computed::font::FontFamilyList::new(Box::new([
|
||||
computed::font::SingleFontFamily::from_atom(
|
||||
font_family)]))))));
|
||||
}
|
||||
|
||||
let font_size = self.downcast::<HTMLFontElement>().and_then(|this| this.get_size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue