mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
stylo: Implement object-position
MozReview-Commit-ID: 6mr4ktfeEGT
This commit is contained in:
parent
3266b5b31f
commit
8b7bb97aa9
2 changed files with 29 additions and 8 deletions
|
@ -210,6 +210,14 @@ ${helpers.single_keyword("object-fit", "fill contain cover none scale-down",
|
|||
products="gecko", animatable=False,
|
||||
spec="https://drafts.csswg.org/css-images/#propdef-object-fit")}
|
||||
|
||||
${helpers.predefined_type("object-position",
|
||||
"Position",
|
||||
"computed::Position::zero()",
|
||||
products="gecko",
|
||||
boxed="True",
|
||||
spec="https://drafts.csswg.org/css-images-3/#the-object-position",
|
||||
animatable=False)}
|
||||
|
||||
<% grid_longhands = ["grid-row-start", "grid-row-end", "grid-column-start", "grid-column-end"] %>
|
||||
|
||||
% for longhand in grid_longhands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue