Skip to content

[Bug Report] Incorrect object-fit result in IE 11 #17610

@charlie0228

Description

@charlie0228

Element UI version

2.12.0

OS/Browsers version

Windows / IE 11

Vue version

2.6.10

Reproduction Link

https://codepen.io/charlie0228/pen/jONgeGK

Steps to reproduce

In the unsupported object-fit browser (e.g. IE 11), the simulate object-fit won't work correctly.
You can see Reproduction Link in IE 11, the first section (Container: 200 x 100 Image: 400 x 300) the contain & cover is incorrect

IE 11:
image

What is Expected?

Object-fit contain & cover are correct simulating in IE 11.

What is actually happening?

The simulate object-fit is not correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions