mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Implement CSS support for the optional adjustment-basis metric keywords for the font-size-adjust property (enabled on Nightly only for now)
Differential Revision: https://phabricator.services.mozilla.com/D115596
This commit is contained in:
parent
d1936e6a4a
commit
16168fe4e7
5 changed files with 99 additions and 100 deletions
|
@ -388,8 +388,7 @@ pub mod system_font {
|
|||
font_weight,
|
||||
font_stretch,
|
||||
font_style,
|
||||
font_size_adjust: longhands::font_size_adjust::computed_value
|
||||
::T::from_gecko_adjust(system.sizeAdjust),
|
||||
font_size_adjust: system.sizeAdjust,
|
||||
% for kwprop in kw_font_props:
|
||||
${kwprop}: longhands::${kwprop}::computed_value::T::from_gecko_keyword(
|
||||
system.${to_camel_case_lower(kwprop.replace('font_', ''))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue