Skip to content

Commit

Permalink
Enable object-fit and object-position for Servo (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Robinson <[email protected]>
Co-authored-by: Oriol Brufau <[email protected]>
  • Loading branch information
mrobinson and Loirooriol authored Sep 17, 2024
1 parent 25daa6b commit 1d95da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style/properties/longhands/position.mako.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ ${helpers.single_keyword(
${helpers.single_keyword(
"object-fit",
"fill contain cover none scale-down",
engines="gecko",
engines="gecko servo",
animation_type="discrete",
spec="https://drafts.csswg.org/css-images/#propdef-object-fit",
gecko_enum_prefix = "StyleObjectFit",
Expand All @@ -331,7 +331,7 @@ ${helpers.predefined_type(
"object-position",
"Position",
"computed::Position::center()",
engines="gecko",
engines="gecko servo",
boxed=True,
spec="https://drafts.csswg.org/css-images-3/#the-object-position",
affects="layout",
Expand Down

0 comments on commit 1d95da7

Please sign in to comment.