File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1074,7 +1074,6 @@ impl<'b> Cascade<'b> {
1074
1074
builder. add_flags ( ComputedValueFlags :: HAS_AUTHOR_SPECIFIED_WORD_SPACING ) ;
1075
1075
}
1076
1076
1077
- #[ cfg( feature = "gecko" ) ]
1078
1077
if self
1079
1078
. author_specified
1080
1079
. contains ( LonghandId :: FontSynthesisWeight )
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ ${helpers.predefined_type(
87
87
${ helpers. predefined_type (
88
88
"font-synthesis-weight" ,
89
89
"FontSynthesis" ,
90
- engines="gecko" ,
90
+ engines="gecko servo " ,
91
91
initial_value="computed::FontSynthesis::Auto" ,
92
92
initial_specified_value="specified::FontSynthesis::Auto" ,
93
93
gecko_ffi_name="mFont.synthesisWeight" ,
Original file line number Diff line number Diff line change @@ -1522,6 +1522,7 @@ impl Parse for FontLanguageOverride {
1522
1522
Copy ,
1523
1523
Debug ,
1524
1524
Eq ,
1525
+ Hash ,
1525
1526
MallocSizeOf ,
1526
1527
Parse ,
1527
1528
PartialEq ,
@@ -1531,6 +1532,7 @@ impl Parse for FontLanguageOverride {
1531
1532
ToResolvedValue ,
1532
1533
ToShmem ,
1533
1534
) ]
1535
+ #[ cfg_attr( feature = "servo" , derive( Deserialize , Serialize ) ) ]
1534
1536
pub enum FontSynthesis {
1535
1537
/// This attribute may be synthesized if not supported by a face.
1536
1538
Auto ,
You can’t perform that action at this time.
0 commit comments