Skip to content

Commit 1d95da7

Browse files
Enable object-fit and object-position for Servo (#77)
Signed-off-by: Martin Robinson <[email protected]> Co-authored-by: Oriol Brufau <[email protected]>
1 parent 25daa6b commit 1d95da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

style/properties/longhands/position.mako.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ ${helpers.single_keyword(
320320
${helpers.single_keyword(
321321
"object-fit",
322322
"fill contain cover none scale-down",
323-
engines="gecko",
323+
engines="gecko servo",
324324
animation_type="discrete",
325325
spec="https://drafts.csswg.org/css-images/#propdef-object-fit",
326326
gecko_enum_prefix = "StyleObjectFit",
@@ -331,7 +331,7 @@ ${helpers.predefined_type(
331331
"object-position",
332332
"Position",
333333
"computed::Position::center()",
334-
engines="gecko",
334+
engines="gecko servo",
335335
boxed=True,
336336
spec="https://drafts.csswg.org/css-images-3/#the-object-position",
337337
affects="layout",

0 commit comments

Comments
 (0)