ElemeFE / ElemeFE/element

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

Open
#17,610 3 comments 3 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### 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](https://i.imgur.com/IQa5rey.png)

### What is Expected?
Object-fit contain & cover are correct simulating in IE 11.

### What is actually happening?
The simulate object-fit is not correct.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.