mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Integrate font-variation-settings descriptor with stylo
This commit is contained in:
parent
4c3f1756da
commit
6ffa888dd6
6 changed files with 82 additions and 18 deletions
|
@ -4746,7 +4746,7 @@ pub extern "C" fn Servo_ParseFontDescriptor(
|
|||
use style::font_face::{FontDisplay, FontWeight, Source};
|
||||
use style::properties::longhands::font_language_override;
|
||||
use style::values::computed::font::FamilyName;
|
||||
use style::values::specified::font::SpecifiedFontFeatureSettings;
|
||||
use style::values::specified::font::{SpecifiedFontFeatureSettings, FontVariationSettings};
|
||||
|
||||
let string = unsafe { (*value).to_string() };
|
||||
let mut input = ParserInput::new(&string);
|
||||
|
@ -4796,6 +4796,7 @@ pub extern "C" fn Servo_ParseFontDescriptor(
|
|||
eCSSFontDesc_Src / Vec<Source>,
|
||||
eCSSFontDesc_UnicodeRange / Vec<UnicodeRange>,
|
||||
eCSSFontDesc_FontFeatureSettings / SpecifiedFontFeatureSettings,
|
||||
eCSSFontDesc_FontVariationSettings / FontVariationSettings,
|
||||
eCSSFontDesc_FontLanguageOverride / font_language_override::SpecifiedValue,
|
||||
eCSSFontDesc_Display / FontDisplay,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue