mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Make font-variant-alternates use cbindgen.
Differential Revision: https://phabricator.services.mozilla.com/D42859
This commit is contained in:
parent
b8108eaa80
commit
7c4dc9e797
3 changed files with 18 additions and 130 deletions
|
@ -644,10 +644,10 @@ impl ToAnimatedValue for FontSizeAdjust {
|
|||
pub type FontVariantAlternates = specified::VariantAlternatesList;
|
||||
|
||||
impl FontVariantAlternates {
|
||||
#[inline]
|
||||
/// Get initial value with VariantAlternatesList
|
||||
#[inline]
|
||||
pub fn get_initial_value() -> Self {
|
||||
specified::VariantAlternatesList(vec![].into_boxed_slice())
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue