Skip to content

Commit

Permalink
Enable x-lang attribute for Servo engine (#24)
Browse files Browse the repository at this point in the history
* Enable x-lang attribute

* updated-serialize-deserialize
  • Loading branch information
MunishMummadi authored and mrobinson committed Jun 25, 2024
1 parent ee9302f commit fcc0876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion style/properties/longhands/font.mako.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ ${helpers.predefined_type(
${helpers.predefined_type(
"-x-lang",
"XLang",
engines="gecko",
engines="gecko servo",
initial_value="computed::XLang::get_initial_value()",
animation_value_type="none",
enabled_in="",
Expand Down
1 change: 1 addition & 0 deletions style/values/specified/font.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,7 @@ impl XTextScale {
ToResolvedValue,
ToShmem,
)]
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
/// Internal property that reflects the lang attribute
pub struct XLang(#[css(skip)] pub Atom);

Expand Down

0 comments on commit fcc0876

Please sign in to comment.