Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion style/properties/longhands.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3659,7 +3659,6 @@ gecko_constant_prefix = "NS_FONT_VARIANT_CAPS"

[font-kerning]
struct = "font"
engine = "gecko"
spec = "https://drafts.csswg.org/css-fonts/#propdef-font-kerning"
animation_type = "discrete"
affects = "layout"
Expand Down
6 changes: 2 additions & 4 deletions style/properties/shorthands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2517,12 +2517,12 @@ pub mod font {
use super::*;
#[cfg(feature = "gecko")]
use crate::properties::longhands::{
font_family, font_feature_settings, font_kerning, font_language_override, font_size,
font_family, font_feature_settings, font_language_override, font_size,
font_size_adjust, font_variant_alternates, font_variant_east_asian, font_variant_emoji,
font_variant_ligatures, font_variant_numeric, font_variant_position,
};
use crate::properties::longhands::{
font_optical_sizing, font_stretch, font_style, font_variant_caps, font_variation_settings,
font_kerning, font_optical_sizing, font_stretch, font_style, font_variant_caps, font_variation_settings,
font_weight,
};
#[cfg(feature = "gecko")]
Expand Down Expand Up @@ -2623,7 +2623,6 @@ pub mod font {
font_family: family,
font_optical_sizing: font_optical_sizing::get_initial_specified_value(),
font_variation_settings: font_variation_settings::get_initial_specified_value(),
#[cfg(feature = "gecko")]
font_kerning: font_kerning::get_initial_specified_value(),
#[cfg(feature = "gecko")]
font_language_override: font_language_override::get_initial_specified_value(),
Expand Down Expand Up @@ -2682,7 +2681,6 @@ pub mod font {
}
}

#[cfg(feature = "gecko")]
if self.font_kerning != &font_kerning::get_initial_specified_value() {
return Ok(());
}
Expand Down
4 changes: 2 additions & 2 deletions style/properties/shorthands.toml
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,11 @@ sub_properties = [
"line-height",
"font-family",
"font-optical-sizing",
"font-variation-settings"
"font-variation-settings",
"font-kerning"
]
extra_gecko_sub_properties = [
"font-size-adjust",
"font-kerning",
"font-variant-alternates",
"font-variant-east-asian",
"font-variant-emoji",
Expand Down
Loading