Skip to content

Object-fit Property seems not to be working #3660

@LeSill

Description

@LeSill

I am not very experienced as a programmer, so I hope I am not mistaken in saying that the object-fit property is not working correctly. I tried various settings of this property, but there was no change in how the embedded is displayed within the

container.

  1. Create a container and set its size.
  2. Create a new container as a child of the previous one and set the width and height to 100%, with the object-fit property set to fill.
  3. See the behaviour

The object-fit: fill; value does not preserve the aspect ratio, and the image should resized to fill the container, but it seems not to be this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions