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 Loirooriol committed Apr 12, 2024
1 parent 55009f7 commit 49ef638
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
Expand Up @@ -291,7 +291,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
Expand Up @@ -2039,6 +2039,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 49ef638

Please sign in to comment.