16 lines
290 B
HTML
16 lines
290 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Make sure the ImageLayer is sized correctly when using object-fit</title>
|
|
|
|
<style type="text/css">
|
|
|
|
img {
|
|
object-fit: cover;
|
|
width: 256px;
|
|
height: 128px;
|
|
will-change: transform;
|
|
}
|
|
|
|
</style>
|
|
|
|
<img src="repeatable-diagonal-gradient.png">
|