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> {
10741074 builder. add_flags ( ComputedValueFlags :: HAS_AUTHOR_SPECIFIED_WORD_SPACING ) ;
10751075 }
10761076
1077- #[ cfg( feature = "gecko" ) ]
10781077 if self
10791078 . author_specified
10801079 . contains ( LonghandId :: FontSynthesisWeight )
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ ${helpers.predefined_type(
8787${ helpers. predefined_type (
8888 "font-synthesis-weight" ,
8989 "FontSynthesis" ,
90- engines="gecko" ,
90+ engines="gecko servo " ,
9191 initial_value="computed::FontSynthesis::Auto" ,
9292 initial_specified_value="specified::FontSynthesis::Auto" ,
9393 gecko_ffi_name="mFont.synthesisWeight" ,
Original file line number Diff line number Diff line change @@ -1522,6 +1522,7 @@ impl Parse for FontLanguageOverride {
15221522 Copy ,
15231523 Debug ,
15241524 Eq ,
1525+ Hash ,
15251526 MallocSizeOf ,
15261527 Parse ,
15271528 PartialEq ,
@@ -1531,6 +1532,7 @@ impl Parse for FontLanguageOverride {
15311532 ToResolvedValue ,
15321533 ToShmem ,
15331534) ]
1535+ #[ cfg_attr( feature = "servo" , derive( Deserialize , Serialize ) ) ]
15341536pub enum FontSynthesis {
15351537 /// This attribute may be synthesized if not supported by a face.
15361538 Auto ,
You can’t perform that action at this time.
0 commit comments